﻿
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    display: flex;
    align-items: center;
}

.glass-card:hover {
    box-shadow: 0 16px 48px rgba(31, 38, 135, 0.2);
}

.btn-primary {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        transform: translateY(-3px);
    }

.form-control, .form-select {
    padding: 10px 10px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    /*background: rgba(255, 255, 255, 0.35);*/
    transition: all 0.3s ease;
    font-size: 1rem;
}

.password-container {
    position: relative;
}

.password-toggle {
    cursor: pointer;
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
    z-index: 5;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .password-toggle:hover {
        color: var(--primary-color);
    }

.floating-shape {
    position: fixed;
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
    filter: blur(60px);
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: 10%;
    left: -250px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    bottom: 10%;
    right: -200px;
}

@@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .glass-card {
        border-radius: 10px;
    }

    body {
        display: block;
        padding: 20px 0;
    }
}

/* Modern Alert Messages */
.alert-modern {
    position: relative;
    padding: 14px 20px;
    border-radius: 10px;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    margin-bottom: 0;
}

    .alert-modern::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: currentColor;
        opacity: 0.3;
    }

    .alert-modern .alert-icon {
        margin-right: 12px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .alert-modern .alert-close {
        margin-left: auto;
        background: none;
        border: none;
        color: inherit;
        opacity: 0.7;
        cursor: pointer;
        transition: opacity 0.2s ease;
        padding: 0 0 0 12px;
    }

        .alert-modern .alert-close:hover {
            opacity: 1;
        }

/* Success Alert */
.alert-modern-success {
    background: rgba(16, 185, 129, 0.15);
    color: #0d9266;
}

    .alert-modern-success .alert-icon {
        color: #059669;
    }

/* Warning Alert */
.alert-modern-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #c27803;
}

    .alert-modern-warning .alert-icon {
        color: #f59e0b;
    }

/* Danger Alert */
.alert-modern-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

    .alert-modern-danger .alert-icon {
        color: #ef4444;
    }

/* Alert Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-modern {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .alert-modern {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

        .alert-modern .alert-icon {
            font-size: 1rem;
            margin-right: 10px;
        }
}
