* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Clean modern font */
}

body {
    background-color: #f7f8fa; /* Light grey background from photos */
}

.main-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.auth-card {
    background: white;
    width: 440px; /* Exact size matching reference */
    padding: 30px;
    border-radius: 8px; /* Clean, slightly rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Soft shadow from photo */
    transition: all 0.3s ease;
}

/* Logic to hide the boxes */
.auth-card.hidden {
    display: none;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blue-icon {
    color: #0d6efd; /* Primary Bootstrap Blue */
    font-size: 20px;
}

.card-header h2 {
    font-size: 22px;
    color: #333;
    font-weight: 600;
}

.subtitle {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    color: #444;
    font-size: 14px;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    transition: border 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15); /* Modern focus halo */
}

/* Specific styling for placeholders (making them lighter grey) */
.input-group input::placeholder {
    color: #bbb;
}

.auth-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 15px;
}

.blue-btn {
    background-color: #0d6efd;
    color: white;
    font-weight: 600;
}

.blue-btn:hover {
    background-color: #0b5ed7;
}

.card-footer {
    text-align: center;
    padding-top: 15px;
}

.card-footer p {
    font-size: 14px;
    color: #666;
}

.card-footer a {
    color: #0d6efd;
    text-decoration: none;
}

.card-footer a:hover {
    text-decoration: underline;
}

/* Fix navbar translate position */
#google_translate_element {
  display: flex;
  align-items: center;
}

/* Clean UI */
.goog-te-gadget {
  font-size: 0 !important;
}

.goog-te-combo {
  border-radius: 6px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  font-size: 14px !important;
  cursor: pointer;
}

/* Hide unwanted Google UI */
.goog-logo-link,
.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0 !important;
}