/* Indeed-style Authentication CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.indeed-auth {
    font-family: "Noto Sans", "Helvetica Neue", Helvetica, Arial, "Liberation Sans", Roboto, Noto, sans-serif;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container */
.indeed-auth-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 16px 24px 16px;
    max-width: 100%;
}

/* Logo Section */
.indeed-logo {
    margin: 24px 0 40px 0;
    text-align: center;
}

.indeed-logo h1 {
    font-size: 32px;
    font-weight: 700;
    color: #0066FF;
    letter-spacing: -1px;
}

.indeed-logo span {
    color: #e16b16;
}

/* Form Container */
.indeed-form-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 480px;
    padding: 32px 24px;
}

/* Form Title */
.indeed-form-title {
    margin-bottom: 24px;
}

.indeed-form-title h2 {
    font-size: 20px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 8px;
    line-height: 1.4;
}

.indeed-form-title p {
    font-size: 14px;
    color: #595959;
    line-height: 1.5;
}

/* Form Elements */
.indeed-form {
    width: 100%;
}

.indeed-form-group {
    margin-bottom: 16px;
}

.indeed-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 4px;
}

.indeed-form-group input {
    width: 100%;
    padding: 8px 12px;
    font-size: 16px;
    border: 1px solid #949494;
    border-radius: 8px;
    background-color: #ffffff;
    transition: border-color 0.2s;
    height: 44px;
}

.indeed-form-group input:focus {
    outline: none;
    border-color: #0066FF;
    box-shadow: 0 0 0 3px rgba(37, 87, 167, 0.1);
}

.indeed-form-group input::placeholder {
    color: #949494;
}

/* Error Messages */
.indeed-error {
    color: #d93a2c;
    font-size: 13px;
    font-weight: 500;
    margin-top: 6px;
    display: none;
    padding: 4px 0;
    animation: errorSlide 0.3s ease-out;
}

.indeed-error.show {
    display: block;
}

@keyframes errorSlide {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error state for inputs */
input.error-state {
    border-color: #d93a2c !important;
    background-color: #fff5f5;
}

input.error-state:focus {
    box-shadow: 0 0 0 3px rgba(217, 58, 44, 0.1) !important;
}

/* Buttons */
.indeed-btn-primary {
    width: 100%;
    padding: 0 24px;
    height: 44px;
    background-color: #0066FF;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 4px;
}

.indeed-btn-primary:hover {
    background-color: #164081;
}

.indeed-btn-primary:active {
    background-color: #0d2d5e;
}

/* Social Login */
.indeed-divider {
    display: flex;
    align-items: center;
    margin: 20px 0 16px 0;
    color: #595959;
    font-size: 14px;
}

.indeed-divider::before,
.indeed-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #e4e2e0;
}

.indeed-divider span {
    padding: 0 16px;
}

.indeed-social-btn {
    width: 100%;
    padding: 0 16px;
    height: 44px;
    background-color: #ffffff;
    color: #2d2d2d;
    border: 1px solid #949494;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.indeed-social-btn:hover {
    background-color: #f3f2f1;
    border-color: #2d2d2d;
}

.indeed-social-btn svg {
    width: 20px;
    height: 20px;
}

/* Links */
.indeed-link {
    color: #0066FF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
}

.indeed-link:hover {
    text-decoration: underline;
}

/* Forgot Password */
.indeed-form-extras {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 20px;
}

.indeed-checkbox {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #2d2d2d;
}

.indeed-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
}

/* Alternative Action */
.indeed-alt-action {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e4e2e0;
    font-size: 14px;
    color: #595959;
}

/* Footer */
.indeed-footer {
    background-color: #ffffff;
    border-top: 1px solid #e4e2e0;
    padding: 24px;
    margin-top: 40px;
}

.indeed-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.indeed-footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.indeed-footer-links a {
    color: #595959;
    text-decoration: none;
    font-size: 12px;
}

.indeed-footer-links a:hover {
    color: #0066FF;
    text-decoration: underline;
}

.indeed-footer-copyright {
    font-size: 12px;
    color: #949494;
}

/* Two Column Form Layout for Registration */
.indeed-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Age Verification for Registration */
.indeed-age-group {
    margin-bottom: 20px;
}

.indeed-radio-group {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.indeed-radio {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #2d2d2d;
}

.indeed-radio input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
}

/* Terms and Privacy */
.indeed-terms {
    font-size: 11px;
    color: #949494;
    line-height: 1.4;
    margin-top: 12px;
    margin-bottom: 16px;
    text-align: center;
}

.indeed-terms .indeed-link {
    color: #595959;
    font-size: 11px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .indeed-auth-container {
        padding: 60px 16px 24px 16px;
    }

    .indeed-form-container {
        padding: 28px 20px;
        max-width: 100%;
    }

    .indeed-form-title h2 {
        font-size: 18px;
    }

    .indeed-form-title p {
        font-size: 13px;
    }

    .indeed-form-group input {
        font-size: 15px;
        padding: 10px 12px;
    }

    .indeed-btn-primary {
        font-size: 15px;
    }

    .indeed-social-btn {
        font-size: 15px;
    }

    .indeed-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .indeed-footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .indeed-auth-container {
        padding: 40px 12px 20px 12px;
    }

    .indeed-form-container {
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid #e4e2e0;
        border-bottom: 1px solid #e4e2e0;
        padding: 24px 16px;
    }

    .indeed-form-title h2 {
        font-size: 17px;
    }

    .indeed-logo h1 {
        font-size: 28px;
    }

    .indeed-form-group input {
        font-size: 14px;
    }

    .indeed-btn-primary {
        font-size: 14px;
    }

    .indeed-social-btn {
        font-size: 14px;
    }

    .indeed-footer {
        padding: 20px 16px;
    }
}

/* Loading State */
.indeed-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.indeed-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}