/* ISP Management Pro - Custom Styles */

/* Sidebar */
.sidebar {
    height: 100vh;
    position: sticky;
    top: 0;
    min-width: 250px;
    max-width: 280px;
    overflow-y: auto;
}

.sidebar .nav-link {
    color: #c0c0c0;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.2s;
}

.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.sidebar .nav-link.bg-primary {
    background-color: #0d6efd !important;
    color: #ffffff !important;
}

/* Content Area */
.content {
    background-color: #f8f9fc;
    min-height: 100vh;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

/* Tables */
.table {
    font-size: 0.9rem;
}

.table thead th {
    border-top: none;
    border-bottom: 2px solid #e9ecef;
    color: #6c757d;
    font-weight: 600;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.35rem 0.65rem;
}

/* Status Badges */
.badge-trial { background-color: #17a2b8; color: #fff; }
.badge-active { background-color: #28a745; color: #fff; }
.badge-grace { background-color: #ffc107; color: #212529; }
.badge-expired { background-color: #dc3545; color: #fff; }
.badge-suspended { background-color: #6c757d; color: #fff; }

/* Login Page */
.login-page {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-page .card {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .sidebar {
        min-width: 100%;
        max-width: 100%;
        height: auto;
        position: relative;
    }
    .d-flex {
        flex-direction: column;
    }
}