﻿


:root {
    --primary-color: #6a4c93;
    --secondary-color: #8a5a44;
    --accent-color: #f8b195;
    --light-color: #f7f7f7;
    --dark-color: #333;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
}

.login-container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 20px;
}

.login-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: all 0.3s ease;
}

    .login-box:hover {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

.login-header {
    margin-bottom: 30px;
    text-align: center;
}

.logo-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo-icon {
    color: white;
    font-size: 36px;
}

h2 {
    color: var(--primary-color);
    font-weight: 600;
}

.form-control,
.input-group-text {
    border-radius: 8px;
}

.input-group-text {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

    .btn-primary:hover {
        background-color: #5a3d7a;
        transform: translateY(-2px);
    }

.toggle-password {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

/* Modal styles */
.modal-content {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: none;
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: none;
    padding: 1rem 2rem 2rem;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Animations */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeIn {
    animation-name: fadeIn;
}

/* Responsive */
@media (max-width: 576px) {
    .login-container {
        padding: 15px;
    }

    .login-box {
        padding: 20px;
    }
}
