/* static/css/auth_style.css */
body.auth-page {
    font-family: 'Inter', sans-serif;
    background-color: #F3F4F6; /* bg-gray-100 */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem; /* p-4 */
}

.auth-card {
    width: 100%;
    max-width: 28rem; /* max-w-md */
    background-color: white;
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-xl */
    padding: 2rem; /* p-8 */
}

.auth-logo-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem; /* space-y-6 on parent, this covers the first gap */
}

.auth-logo { /* Target the class on the <img> tag directly */
    width: 8rem;
    height: auto;  /* Maintain aspect ratio */
    margin-bottom: 1rem; /* Adjust spacing */
}

.auth-logo-title h1 {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700; /* font-bold */
    color: #1F2937; /* text-gray-800 */
}

.auth-form > div:not(:last-child) {
    margin-bottom: 1.25rem; /* space-y-5 */
}



.form-label {
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    color: #374151; /* text-gray-700 */
    display: block;
    margin-bottom: 0.375rem; /* mb-1.5 */
}

.form-input {
    width: 100%;
    padding: 0.625rem 1rem; /* px-4 py-2.5 */
    border: 1px solid #D1D5DB; /* border-gray-300 */
    border-radius: 0.5rem; /* rounded-lg */
    outline: none;
    transition-property: border-color, box-shadow;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.form-input:focus {
    border-color: #3B82F6; /* focus:border-blue-500 */
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); /* focus:ring-2 focus:ring-blue-500 */
}


.btn-submit-full {
    width: 100%;
    background-color: #2563EB; /* bg-blue-600 */
    color: white;
    font-weight: 600; /* font-semibold */
    padding-top: 0.625rem; /* py-2.5 */
    padding-bottom: 0.625rem;
    border-radius: 0.5rem; /* rounded-lg */
    transition-property: background-color;
    transition-duration: 150ms;
}
.btn-submit-full:hover {
    background-color: #1D4ED8; /* hover:bg-blue-700 */
}
.btn-submit-full:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); /* focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50 */
}

.auth-separator {
    display: flex;
    align-items: center;
    margin-top: 1.5rem; /* my-6 */
    margin-bottom: 1.5rem;
}
.auth-separator hr {
    flex-grow: 1;
    border-top: 1px solid #D1D5DB; /* border-gray-300 */
}
.auth-separator span {
    margin-left: 1rem; /* mx-4 */
    margin-right: 1rem;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    color: #6B7280; /* text-gray-500 */
}

.btn-google-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.625rem; /* py-2.5 */
    padding-bottom: 0.625rem;
    border: 1px solid #D1D5DB; /* border-gray-300 */
    border-radius: 0.5rem; /* rounded-lg */
    transition-property: background-color;
    transition-duration: 150ms;
}
.btn-google-full:hover {
    background-color: #F9FAFB; /* hover:bg-gray-50 */
}
.btn-google-full:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(156, 163, 175, 0.5); /* focus:ring-2 focus:ring-gray-400 focus:ring-opacity-50 */
}
.btn-google-full svg {
    width: 1.25rem; /* w-5 */
    height: 1.25rem; /* h-5 */
    margin-right: 0.5rem; /* mr-2 */
}
.btn-google-full span {
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    color: #374151; /* text-gray-700 */
}

.auth-footer-link {
    text-align: center;
    font-size: 0.875rem; /* text-sm */
    color: #4B5563; /* text-gray-600 */
    margin-top: 1.5rem; /* From parent space-y-6 */
}
.auth-footer-link a {
    font-weight: 500; /* font-medium */
    color: #2563EB; /* text-blue-600 */
}
.auth-footer-link a:hover {
    text-decoration: underline;
}

.forgot-password-link {
    font-size: 0.875rem; /* text-sm */
    color: #2563EB; /* text-blue-600 */
}
.forgot-password-link:hover {
    text-decoration: underline;
}
    
/* Improved password suggestions styling */
.help {
    font-size: 0.75rem; /* text-xs -> smaller */
    color: #6B7280; /* text-gray-500 */
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* Hide empty help paragraphs */
.help:empty {
    display: none;
}

/* Style the password suggestions list that comes after .help */
.help + ul {
    list-style-type: disc;
    padding-left: 1rem;
    margin: 0.625rem 0; /* Equal top and bottom margins for consistent spacing */
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.4;
}

.help + ul li {
    margin-bottom: 0.125rem;
}

/* Hide empty p tags that follow the ul */
.help + ul + p:empty {
    display: none;
}

/* Mobile responsive - remove auth-card styling and body padding on mobile */
@media (max-width: 1023px) {
    body.auth-page {
        padding: 0; /* Remove body padding on mobile */
    }
    
    .auth-card {
        background-color: transparent;
        border-radius: 0;
        box-shadow: none;
        /* Keep padding for proper spacing */
    }
}