* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #27272a;
  color: #f4f4f5;
  height: 100vh;                             
  overflow: hidden;                          
}

.main-container {
  display: flex;
  flex-direction: row;
  height: 100vh;                            
  padding: 12px;
  gap: 12px;
}

.login-section {
  width: 420px;
  min-width: 320px;
  background-color: #18181b;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.login-container {
  width: 100%;
  max-width: 340px;
}
.micusina-logo {
  display: block;
  margin: 0 auto 20px auto;
  width: 120px;
  height: auto;
  border-radius: 50%;
  border: 5px solid #f97316;
}
#store-name {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: -0.5px;
}

#error-message {
  font-size: 13px;
  color: #ef4444 !important;
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 20px !important;
  text-align: center;
}

#error-message:empty {
  display: none;
}

#loginForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: -10px;
}

select, 
input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background-color: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

select option {
  background-color: #18181b;
  color: #ffffff;
}

select:focus, 
input:focus {
  border-color: rgb(64, 190, 240);
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.2);
}

button {
  width: 100%;
  height: 46px;
  margin-top: 8px;
  background-color:rgb(25, 136, 180);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

button:hover {
  background-color:rgb(64, 190, 240);
}

button:active {
  transform: scale(0.98);
}

.ui-display-section {
  flex: 1;
  height: 100%;                      
  width: 100%;
  min-height: 0;
  background-image: url('../images/micusina.jpg');
  background-size:cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius:12px;
  border: 2px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
    padding: 8px;
    gap: 8px;
  }
  
  .login-section {
    width: 100%;
    max-width: 100%;
    order: 1;
    padding: 30px 20px;
  }
  
  .ui-display-section {
    order: 2;
    min-height: 300px;
  }
}