/* Company Login Page Styles - Matches WFX Project Theme */

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

body {
    font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: hidden;
}

.background {
    position: absolute;
    inset: 0;
    background: #1a237e;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.auth-container {
    width: 450px;
    max-width: 450px;
    transition: all 0.7s ease-out;
    position: relative;
    z-index: 10;
}

.glass-card {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1), transparent);
    border-radius: 24px;
    pointer-events: none;
}

.card-content {
    position: relative;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.step-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.text-center {
    text-align: center;
}

.title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    font-family: "Space Grotesk", Arial, sans-serif;
}

.subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-family: "Space Grotesk", Arial, sans-serif;
    font-size: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: "Space Grotesk", Arial, sans-serif;
}

.input-wrapper {
    position: relative;
}

.input {
    width: 100%;
    padding: 0.75rem;
    padding-left: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
    transition: all 0.2s;
    font-family: "Space Grotesk", Arial, sans-serif;
}

.input:focus {
    outline: none;
    border-color: rgba(23, 162, 184, 0.6);
    box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.1);
}

.input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    width: 1rem;
    height: 1rem;
}

.button {
    width: 100%;
    padding: 0.75rem;
    background: rgba(23, 162, 184, 0.8);
    border: 1px solid rgba(23, 162, 184, 0.9);
    border-radius: 0.75rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font-family: "Space Grotesk", Arial, sans-serif;
    margin-top: 0.5rem;
}

.button:hover:not(:disabled) {
    background: rgba(19, 132, 150, 0.9);
    border-color: rgba(19, 132, 150, 1);
    transform: translateY(-2px);
}

.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.error-message {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-size: 0.875rem;
    text-align: center;
    animation: fadeIn 0.3s ease;
    font-family: "Space Grotesk", Arial, sans-serif;
}

.error-message.hidden {
    display: none;
}

.reset-link {
    display: inline-block;
    margin-top: 1rem;
    color: rgba(23, 162, 184, 0.9);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s;
    font-family: "Space Grotesk", Arial, sans-serif;
}

.reset-link:hover {
    color: white;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-bottom {
    animation: slideInBottom 0.5s ease-out;
}

@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 480px) {
    .auth-container {
        width: 100%;
        max-width: 400px;
    }

    .card-content {
        padding: 1.5rem;
    }

    .title {
        font-size: 1.25rem;
    }

    .subtitle {
        font-size: 0.9375rem;
    }

    .input {
        padding: 0.675rem;
        padding-left: 2.5rem;
    }
}
