.auth-section {
    background: linear-gradient(to right, #4a90e2, #357ABD);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    flex-grow: 1;
}

.auth-section form {
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 420px;
    width: 100%;
}

.auth-section h2 {
    color: #357ABD;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.auth-section p {
    color: #555;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: bold;
    color: #357ABD;
    margin-bottom: 5px;
}

.form-group input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #357ABD;
    outline: none;
}

.form-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    text-align: left;
}

.flash-messages {
    margin-bottom: 20px;
}

.flash-messages .alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 0.95rem;
}

.btn {
    display: inline-block;
    text-align: center;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #357ABD;
    color: white;
}

.btn-primary:hover {
    background-color: #2c5fa0;
}

.auth-section a {
    color: #357ABD;
    text-decoration: none;
    font-weight: bold;
}

.auth-section a:hover {
    text-decoration: underline;
}

.flash-container {
    margin: 15px 0;
    text-align: center;
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 0.95rem;
}

.alert-danger {
    background-color: #ffdddd;
    color: #a94442;
}

.alert-success {
    background-color: #ddffdd;
    color: #3c763d;
}

.alert-warning {
    background-color: #fff5cc;
    color: #8a6d3b;
}

.alert-info {
    background-color: #d9edf7;
    color: #31708f;
}

.email-confirmed {
    background: linear-gradient(to right, #4a90e2, #357ABD);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

.email-confirmed .card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 420px;
    text-align: center;
}

.email-confirmed h2 {
    color: #3c763d;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.email-confirmed p {
    color: #555;
    margin-bottom: 25px;
}

.register-section {
    background: linear-gradient(to right, #4a90e2, #357ABD);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

.register-section h2,
.register-section p {
    position: relative;
    z-index: 1;
}

.register-container {
    position: relative;
    z-index: 10; /* 🔹 Garante que o form fique acima de tudo */
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.register-container h2 {
    color: #357ABD;
    margin-bottom: 10px;
}

.register-container p {
    color: #555;
    margin-bottom: 25px;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.register-form .form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.register-form .form-group label {
    font-weight: bold;
    color: #357ABD;
    margin-bottom: 5px;
}

.register-form .form-group input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-register {
    background-color: #357ABD;
    color: white;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-register:hover {
    background-color: #2c5fa0;
}

.register-footer {
    margin-top: 15px;
    font-size: 0.95rem;
}

.register-footer a {
    color: #357ABD;
    font-weight: bold;
    text-decoration: none;
}

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

.login-section {
    background: linear-gradient(to right, #4a90e2, #357ABD);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

.login-container {
    position: relative;
    z-index: 10;
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.login-container h2 {
    color: #357ABD;
    margin-bottom: 10px;
}

.login-container p {
    color: #555;
    margin-bottom: 25px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-form .form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.login-form .form-group label {
    font-weight: bold;
    color: #357ABD;
    margin-bottom: 5px;
}

.login-form .form-group input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-login {
    background-color: #357ABD;
    color: white;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-login:hover {
    background-color: #2c5fa0;
}

.login-footer {
    margin-top: 15px;
    font-size: 0.95rem;
}

.login-footer a {
    color: #357ABD;
    font-weight: bold;
    text-decoration: none;
}

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

.forgot-password {
    margin-top: 10px;
    text-align: right;
}

.forgot-password a {
    color: #357ABD;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.auth-container {
    position: relative;
    z-index: 10;
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 420px;
    width: 100%;
    text-align: center;
}

.auth-container h2 {
    color: #357ABD;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.auth-container p {
    color: #555;
    margin-bottom: 25px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-footer {
    margin-top: 15px;
    font-size: 0.95rem;
}

.auth-footer a {
    color: #357ABD;
    font-weight: bold;
    text-decoration: none;
}

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

.email-confirmed {
    background: linear-gradient(to right, #4a90e2, #357ABD);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    min-height: 80vh;
}

.email-confirmed .card {
    background-color: white;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 420px;
    width: 100%;
}

.email-confirmed h2 {
    color: #3c763d;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.email-confirmed p {
    color: #555;
    margin-bottom: 25px;
}

.email-confirmed .btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background-color: #357ABD;
    color: white;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
}

.email-confirmed .btn-primary:hover {
    background-color: #2c5fa0;
}

.divider {
  text-align: center;
  margin: 1.2rem 0;
  color: #aaa;
  position: relative;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  width: 40%;
  height: 1px;
  background: #ddd;
  top: 50%;
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.2s;
}

.btn-google:hover {
  background: #f7f7f7;
}

.google-icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
    .auth-section {
        padding: 60px 15px;
    }

    .auth-section form {
        padding: 30px 20px;
        width: 100%;
        max-width: 95%;
    }

    .auth-section h2 {
        font-size: 1.5rem;
    }

    .form-group input {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        padding: 12px;
    }

    .auth-container,
    .email-confirmed .card {
        padding: 30px 20px;
        width: 100%;
    }
}