﻿/* Apply Radzen CSS variables */
:root {
    --rz-white: #ffffff;
    --rz-black: #000000;
    --rz-base: #dadfe2;
    --rz-base-50: #ffffff;
    --rz-base-100: #f6f7fa;
    --rz-base-200: #e9edf0;
    --rz-base-300: #dadfe2;
    --rz-base-400: #c1c9cb;
    --rz-base-500: #95a4a8;
    --rz-base-600: #77858b;
    --rz-base-700: #545e61;
    --rz-base-800: #3a474d;
    --rz-base-900: #28363c;
    --rz-primary: #598087;
    --rz-primary-light: #6d8f95;
    --rz-primary-lighter: rgba(89, 128, 135, 0.16);
    --rz-primary-dark: #52767c;
    --rz-primary-darker: #436065;
    --rz-secondary: #80a4ab;
    --rz-secondary-light: #8fafb5;
    --rz-secondary-lighter: rgba(128, 164, 171, 0.2);
    --rz-secondary-dark: #76979d;
    --rz-secondary-darker: #607b80;
    --rz-info: #2cc8c8;
    --rz-success: #5dbf74;
    --rz-warning: #fac152;
    --rz-danger: #f9777f;
    --rz-text-color: #3a474d;
    --rz-text-title-color: #28363c;
    --rz-text-secondary-color: #545e61;
    --rz-border-radius: 4px;
    --rz-shadow-2: 0 0 2px 0 rgba(0, 0, 0, 0.08), 0px 2px 2px rgba(0, 0, 0, 0.08), 0px 4px 12px 0 rgba(0, 0, 0, 0.04);
    --rz-shadow-4: 0 0 4px 0 rgba(0, 0, 0, 0.04), 0px 3px 5px rgba(0, 0, 0, 0.04), 0px 8px 20px rgba(0, 0, 0, 0.11);
    --rz-input-border: 1px solid var(--rz-base-300);
    --rz-input-background-color: var(--rz-base-50);
    --rz-input-padding: 0.4375rem;
}

/* Body styles */
/*body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.429;
    color: var(--rz-text-color);
    background-color: var(--rz-base-100);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}
*/
/* Login container */
.login-container {
    width: 100%;
    max-width: 350px;
}

/* Login card */
.login-card {
    background: var(--rz-base-50);
    border-radius: 12px;
    padding: 0.9rem;
    box-shadow: var(--rz-shadow-4);
    text-align: center;
    transition: all 0.3s ease;
}

    .login-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

/* Step indicator */
.step-indicator {
    display: flex;
    justify-content: center;
    /*margin-bottom: 1.5rem;*/
    position: relative;
}

.step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rz-base-200);
    color: var(--rz-base-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    z-index: 2;
}

    .step.active {
        background: var(--rz-primary);
        color: var(--rz-white);
    }

.step-connector {
    position: absolute;
    top: 18px;
    width: 100px;
    height: 2px;
    background: var(--rz-base-200);
    z-index: 1;
}

/* SVG illustrations */
.login-svg {
    max-width: 200px;
    margin: 0 auto 0.7rem;
}

/* Titles */
.login-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--rz-text-title-color);
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--rz-text-secondary-color);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

/* Form elements */
.form-group {
    margin-bottom: 0.9rem;
    text-align: left;
}

.form-label {
    font-weight: 600;
    color: var(--rz-text-title-color);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    width: 100%;
    padding: var(--rz-input-padding);
    border-radius: var(--rz-border-radius);
    border: var(--rz-input-border);
    transition: all 0.3s;
    font-size: 1rem;
    background-color: var(--rz-input-background-color);
}

    .form-control:focus {
        border-color: var(--rz-primary);
        box-shadow: 0 0 0 3px var(--rz-primary-lighter);
        outline: none;
    }

/* Buttons */
.btn-primary {
    background: var(--rz-primary);
    color: var(--rz-white);
    border: none;
    padding: 0.875rem;
    font-weight: 600;
    border-radius: var(--rz-border-radius);
    transition: all 0.3s;
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
}

    .btn-primary:hover {
        background: var(--rz-primary-dark);
        transform: translateY(-2px);
    }

    .btn-primary:active {
        transform: translateY(0);
    }

/* Remember me & forgot password */
.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.9rem 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
}

    .checkbox-container input {
        margin-right: 8px;
    }

.forgot-link {
    color: var(--rz-primary);
    text-decoration: none;
    font-size: 0.9rem;
}

    .forgot-link:hover {
        text-decoration: underline;
    }

/* Footer text */
.footer-text {
    margin-top: 1.5rem;
    color: var(--rz-base-600);
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-card {
        padding: 1.5rem;
    }

    .login-svg {
        max-width: 150px;
    }

    .step-connector {
        width: 80px;
    }
}
