/*
Theme Name: MBA Paglaum
Theme URI: https://example.com/mba-paglaum
Author: MBA Paglaum
Author URI: https://example.com
Description: MBA Paglaum Insurance Management System - A complete solution for tracking clients, policies, and weekly premium collections. Features a modern dashboard interface with real-time statistics, client management, policy tracking, and comprehensive reporting.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mba-paglaum
Tags: insurance, business, admin, dashboard, crm, management, mba, paglaum

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: #f0f0f1;
    color: #1d2327;
    line-height: 1.6;
}

/* Container */
.site-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #000199 0%, #0001cc 100%);
    color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.site-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Navigation */
.main-navigation {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.main-navigation a {
    padding: 12px 24px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid rgba(255,255,255,0.3);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.main-navigation a:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    border-color: #000199;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #000199 0%, #0001cc 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

.stat-content h3 {
    font-size: 36px;
    font-weight: bold;
    color: #000199;
    margin-bottom: 5px;
}

.stat-content p {
    color: #646970;
    font-size: 14px;
    font-weight: 600;
}

.stat-content small {
    color: #50575e;
    font-size: 12px;
}

/* Card Styles */
.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.card h2 {
    color: #1d2327;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #000199;
    font-size: 24px;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table th {
    background: #f6f7f7;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
    color: #1d2327;
}

table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f1;
}

table tr:hover {
    background: #f6f7f7;
}

/* Badge Styles */
.badge {
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

/* Summary Grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.summary-item {
    background: linear-gradient(135deg, #f0f6fc 0%, #e3f2fd 100%);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #000199;
}

.summary-item strong {
    display: block;
    color: #50575e;
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-item span {
    font-size: 28px;
    font-weight: bold;
    color: #000199;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 30px;
    color: #646970;
    margin-top: 40px;
    background: white;
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .site-header h1 {
        font-size: 24px;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
}
