/* ===== GLOBAL STYLES ===== */
:root {
    --primary: #3498db;
    --secondary: #2c3e50;
    --white-alpha: rgba(255,255,255,0.15);
    --shadow: rgba(31, 38, 135, 0.37);
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: system-ui, -apple-system, sans-serif;
}

/* ===== LOGO STYLES ===== */
.logo img {
    max-width: 140px;
    height: auto;
    margin-bottom: 2rem;
}

/* ===== BACKGROUND CONTAINER ===== */
.bg {
    background: var(--white-alpha);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px 0 var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ===== IDWP STYLES ===== */
.idwp {
    color: white;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* ===== SEARCH CONTAINER (Welcome Page) ===== */
.search-container {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
}

.search-box {
    background: var(--white-alpha);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 8px 32px 0 var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    gap: 1rem;
}

.search-input {
    background: transparent;
    border: none;
    outline: none;
    flex: 1;
    padding: 0.75rem;
    font-size: 1.1rem;
    color: white;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--primary);
    border: none;
    color: white;
    transition: transform 0.2s;
    cursor: pointer;
}

.search-btn:hover {
    transform: translateY(-2px);
}

/* ===== MENU CONTAINER (Welcome Page) ===== */
.menu-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
}

.menu-box {
    background: var(--white-alpha);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s;
    box-shadow: 0 8px 32px 0 var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.menu-box:hover {
    transform: translateY(-5px);
}

.menu-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.menu-text {
    color: white;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500;
}

.menu-link {
    text-decoration: none;
}

/* ===== NAV TABS (Detail Page) ===== */
.nav-tabs {
    border: none;
}

.nav-tabs .nav-link {
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* ===== TABLE STYLES ===== */
.table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    width: 100% !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.table thead th {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
    transition: all 0.2s ease;
}

/* ===== BUTTON STYLES ===== */
.btn-primary {
    background: var(--primary);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* ===== DATATABLES STYLES ===== */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--primary) !important;
    color: white !important;
    border: none;
    border-radius: 8px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #2980b9 !important;
    color: white !important;
    border: none;
}

.dt-buttons .btn {
    margin-right: 8px;
}

.dataTables_filter input {
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .menu-box {
        margin-bottom: 1rem;
    }
    
    .bg {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
} 