/* ============================================
   AUTH PAGES - LOGIN & REGISTER
   ============================================ */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    animation: fadeInUp 0.6s ease;
}

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

/* ============================================
   AUTH CARD
   ============================================ */

.auth-card {
    background: white;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.auth-logo {
    /*    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);*/
    width: 100%;
    
    text-align: center;
    animation: logoFloat 3s ease-in-out infinite;
}

.auth-logo img {

}

    @keyframes logoFloat {
        0%, 100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-10px);
        }
    }

    .auth-logo i {
        font-size: 36px;
        color: white;
    }

    .auth-title {
        font-size: 28px;
        font-weight: 700;
        text-align: center;
        color: #1a202c;
        margin-bottom: 10px;
    }

    .auth-subtitle {
        text-align: center;
        color: #718096;
        margin-bottom: 30px;
        font-size: 14px;
    }
    /* ============================================
   FORM ELEMENTS
   ============================================ */

    .auth-form {
        margin-bottom: 25px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-label {
        display: block;
        font-weight: 600;
        color: #2d3748;
        margin-bottom: 8px;
        font-size: 14px;
    }

        .form-label i {
            color: #667eea;
            margin-right: 5px;
        }

    .form-control {
        width: 100%;
        padding: 12px 15px;
        border: 2px solid #e2e8f0;
        border-radius: 10px;
        font-size: 15px;
        transition: all 0.3s ease;
    }

        .form-control:focus {
            border-color: #667eea;
            outline: none;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .form-control::placeholder {
            color: #cbd5e0;
        }
    /* Password Input */
    .password-input {
        position: relative;
    }

    .password-toggle {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #a0aec0;
        cursor: pointer;
        padding: 5px;
        transition: color 0.3s ease;
    }

        .password-toggle:hover {
            color: #667eea;
        }
    /* Password Strength */
    .password-strength {
        height: 4px;
        background: #e2e8f0;
        border-radius: 2px;
        margin-top: 8px;
        overflow: hidden;
    }

        .password-strength::after {
            content: '';
            display: block;
            height: 100%;
            width: 0;
            transition: all 0.3s ease;
        }

        .password-strength.weak::after {
            width: 33%;
            background: #f56565;
        }

        .password-strength.medium::after {
            width: 66%;
            background: #ed8936;
        }

        .password-strength.strong::after {
            width: 100%;
            background: #48bb78;
        }
    /* Form Check */
    .form-check {
    }

    .form-check-input {
        width: 18px;
        height: 18px;
        border: 2px solid #e2e8f0;
        border-radius: 4px;
        margin-right: 8px;
        cursor: pointer;
    }

        .form-check-input:checked {
            background-color: #667eea;
            border-color: #667eea;
        }

    .form-check-label {
        font-size: 14px;
        color: #4a5568;
        cursor: pointer;
    }

        .form-check-label a {
            color: #667eea;
            text-decoration: none;
        }

            .form-check-label a:hover {
                text-decoration: underline;
            }

    .form-text {
        display: block;
        margin-top: 5px;
        font-size: 12px;
    }
    /* ============================================
   BUTTONS
   ============================================ */

    .btn {
        padding: 12px 24px;
        border-radius: 10px;
        font-weight: 600;
        font-size: 15px;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
    }

    .btn-primary {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
        }

    .btn-block {
        width: 100%;
        display: block;
    }

    .btn-outline-primary {
        background: transparent;
        border: 2px solid #667eea;
        color: #667eea;
    }

        .btn-outline-primary:hover {
            background: #667eea;
            color: white;
            transform: translateY(-2px);
        }
    /* ============================================
   DIVIDER
   ============================================ */

    .auth-divider {
        position: relative;
        text-align: center;
        margin: 7px 0;
    }

        .auth-divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: #e2e8f0;
        }

        .auth-divider span {
            position: relative;
            display: inline-block;
            padding: 0 15px;
            background: white;
            color: #a0aec0;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 1px;
        }
    /* ============================================
   FOOTER
   ============================================ */

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

        .auth-footer p {
            color: #718096;
            font-size: 14px;
            margin-bottom: 15px;
        }

        .auth-footer .btn {
            width: 100%;
        }
    /* ============================================
   BACK TO HOME
   ============================================ */

.back-to-home {
    text-align: center;
    margin-top: 20px;
}

        .back-to-home a {
            color: white;
            text-decoration: none;
            font-size: 15px;
            font-weight: 700;
            transition: all 0.3s ease;
            display: inline-block;
            background-color: #de0e2d;
            padding: 10px 15px;
            border-radius: 5px;
        }

            .back-to-home a:hover {
                transform: translateX(-5px);
            }
    /* ============================================
   ALERTS
   ============================================ */

    .alert {
        padding: 15px 20px;
        border-radius: 10px;
        margin-bottom: 20px;
        border: none;
    }

    .alert-success {
        background: #c6f6d5;
        color: #22543d;
    }

    .alert-danger {
        background: #fed7d7;
        color: #742a2a;
    }

    .alert i {
        font-size: 18px;
    }

    .btn-close {
        background: none;
        border: none;
        font-size: 20px;
        opacity: 0.5;
        cursor: pointer;
    }

        .btn-close:hover {
            opacity: 1;
        }
    /* ============================================
   VALIDATION
   ============================================ */

    .text-danger {
        color: #f56565;
        font-size: 13px;
        margin-top: 5px;
        display: block;
    }

    .validation-summary-errors ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    /* ============================================
   RESPONSIVE
   ============================================ */

    @media (max-width: 576px) {
        body {
            padding: 15px;
        }

        .auth-card {
            padding: 30px 25px;
        }

        .auth-title {
            font-size: 24px;
        }

        .auth-logo img {
            width: 200px;
          
        }

   
    }
