/* ===== GLOBAL STYLES - Logo & Background cho toàn bộ hệ thống ===== */

/* Ảnh nền toàn hệ thống */
body {
    background-image: url('../images/hvvf_background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

/* Lớp phủ để nội dung dễ đọc hơn */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: -1;
    pointer-events: none;
}

/* Logo styles */
.vovinam-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.vovinam-logo:hover {
    transform: scale(1.05);
}

.header-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.login-logo {
    width: 220px;
    height: 220px;
    object-fit: contain;
    margin-bottom: 25px;
}

/* Container logo có viền */
.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.logo-circle img,
.logo-circle svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Watermark góc dưới phải */
.vovinam-watermark {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

.vovinam-watermark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Tăng độ trong suốt cho các box nội dung */
.content-box-transparent {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

/* ===== Alert Messages with Font Awesome Icons ===== */
.alert {
    position: relative;
    padding: 12px 16px 12px 42px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}
.alert::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}
.alert-success { background: #d1fae5; border: 1px solid #6ee7b7; color: #065f46; }
.alert-success::before { content: "\f058"; color: #059669; } /* fa-circle-check */
.alert-danger { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; }
.alert-danger::before { content: "\f057"; color: #dc2626; } /* fa-circle-xmark */
.alert-warning { background: #fef3c7; border: 1px solid #fcd34d; color: #92400e; }
.alert-warning::before { content: "\f071"; color: #d97706; } /* fa-triangle-exclamation */
.alert-info { background: #dbeafe; border: 1px solid #93c5fd; color: #1e40af; }
.alert-info::before { content: "\f05a"; color: #2563eb; } /* fa-circle-info */

/* Responsive */
@media (max-width: 768px) {
    .vovinam-logo {
        width: 60px;
        height: 60px;
    }
    
    .header-logo {
        width: 40px;
        height: 40px;
    }
    
    .login-logo {
        width: 150px;
        height: 150px;
    }
    
    .vovinam-watermark {
        width: 70px;
        height: 70px;
        bottom: 10px;
        right: 10px;
    }
}
