/**
 * Main Stylesheet
 * WP eNewspaper License Server
 */

/* General */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Dashboard Layout */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

.dashboard-content {
    flex: 1;
    padding: 2rem;
    background-color: #f8f9fa;
}

/* Cards */
.stat-card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card .card-body {
    padding: 1.5rem;
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Tables */
.table-container {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    padding: 1.5rem;
}

/* Auth Forms */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #f8f9fa;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 2rem;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.auth-card .auth-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-card .auth-logo i {
    font-size: 3rem;
    color: #0d6efd;
}

/* License Status Badges */
.badge-active {
    background-color: #198754;
}

.badge-expired {
    background-color: #dc3545;
}

.badge-suspended {
    background-color: #ffc107;
    color: #212529;
}

.badge-cancelled {
    background-color: #6c757d;
}

/* Flash Messages */
.flash-message {
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* Sidebar active state */
.nav-pills .nav-link.active {
    background-color: #0d6efd;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-wrapper {
        flex-direction: column;
    }

    .dashboard-content {
        padding: 1rem;
    }
}
