/* ============================================
   THAYTUVI.AI - UNIFIED SITE STYLES
   Tất cả styles cho toàn bộ site
   Version: 2.0
   ============================================ */

/* ============================================
   1. GLOBAL RESET & BASE
   ============================================ */
* {
    list-style: none !important;
    list-style-type: none !important;
}

body, html {
    background-color: #ffffff !important;
    background-image: none !important;
    padding: 0;
    margin: 0;
}

body {
    color: #1f2937;
    font-size: 1rem;
    line-height: 1.5;
}

/* ============================================
   2. TYPOGRAPHY
   ============================================ */
h1 { font-size: 2rem; font-weight: 700; color: #1f2937; }
h2 { font-size: 1.5rem; font-weight: 600; color: #1f2937; }
h3 { font-size: 1.25rem; font-weight: 600; color: #1f2937; }

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3730a3;
    text-align: center;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .page-title { font-size: 2.25rem; }
}

/* ============================================
   3. CONTAINERS & LAYOUT
   ============================================ */
.main-container, .content-wrapper {
    background-color: #ffffff !important;
    min-height: 100vh;
}

.content-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.section { padding: 2rem 0; }

/* Override bg-main */
.bg-main {
    background: #ffffff !important;
    background-image: none !important;
}

/* ============================================
   4. BUTTONS - PASTEL THEME
   ============================================ */
/* Blue - Download PDF */
.btn-primary, .L_bg-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    color: white !important;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary:hover, .L_bg-blue:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

/* Orange - Edit/Warning */
.L_bg-purple, .L_bg-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: white !important;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.L_bg-purple:hover, .L_bg-warning:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

/* Red - Delete/Error */
.L_bg-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white !important;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.L_bg-error:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

/* Green - Share/Success */
.L_bg-green { 
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.L_bg-green:hover { 
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

/* Gray - Cancel/Secondary */
.L_bg-gray { 
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
    color: white !important;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(107, 114, 128, 0.2);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.L_bg-gray:hover { 
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(107, 114, 128, 0.3);
}

/* Service Cards */
.service-card {
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ============================================
   5. MENU & HEADER
   ============================================ */
.menu a, .menu a span, .menu a * {
    color: #f5d556 !important;
}

header, .header-logo-bg, .bg-main {
    background: linear-gradient(135deg, #6b2c7a 0%, #8b3d98 50%, #a855c7 100%) !important;
}

header a { color: white !important; }
header a:hover { color: #fef08a !important; }

/* ============================================
   6. FOOTER
   ============================================ */
footer, .footer-logo-bg {
    background: linear-gradient(180deg, #8b3d98 0%, #6b2c7a 100%) !important;
}

footer a { color: #f5d556 !important; text-decoration: none; }
footer a:hover { color: #fef08a !important; }
footer a.text-white { color: white !important; }

/* ============================================
   7. CALENDAR STYLES
   ============================================ */
.calendar-table thead tr {
    background: linear-gradient(to right, #c084fc, #f9a8d4) !important;
}

.calendar-table thead th {
    background: transparent !important;
    color: white !important;
}

.calendar-day {
    padding: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.calendar-day:hover {
    background-color: #bfdbfe !important;
    transform: scale(1.02);
}

.calendar-table .calendar-day.today-border,
td.calendar-day.today-border {
    border: 3px solid #a855f7 !important;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.6) !important;
    position: relative !important;
    z-index: 10 !important;
    background-color: rgba(168, 85, 247, 0.1) !important;
}

/* ============================================
   8. UTILITIES
   ============================================ */
img[src*="slide"], div[style*="slide"], img[src*="ngang.png"] {
    display: none !important;
}

/* Remove bullets */
ul::before, ol::before, li::before, div::before, p::before {
    content: "" !important;
    display: none !important;
}

/* Content alignment */
.c_content, .content {
    text-align: left !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    background-color: white !important;
    padding: 1rem !important;
    border-radius: 0.5rem !important;
    line-height: 1.8 !important;
}

/* ============================================
   9. RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    .service-card { padding: 1rem; }
    
    .main-content, main {
        padding-top: 52px !important;
    }
    
    .container, .max-w-7xl, .max-w-6xl, .max-w-5xl {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    .p-6 { padding: 10px !important; }
    .p-8 { padding: 12px !important; }
    
    .shadow-md, .shadow-lg, .shadow-xl {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    }
}
