* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 1400px;
    margin: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.main-header h1 {
    color: #333;
    font-size: 28px;
    margin: 0;
}

.admin-link {
    background: #667eea;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    font-weight: 500;
}

.admin-link:hover {
    background: #5568d3;
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid;
    transition: transform 0.3s;
}

.summary-card:hover {
    transform: translateY(-5px);
}

.summary-card.expired {
    border-left-color: #dc3545;
}

.summary-card.urgent {
    border-left-color: #ffc107;
}

.summary-card.warning {
    border-left-color: #ff9800;
}

.summary-card.total {
    border-left-color: #667eea;
}

.card-icon {
    font-size: 32px;
}

.card-content {
    flex: 1;
}

.card-number {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.card-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: #667eea;
}

.tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
    font-weight: bold;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 22px;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #ddd;
}

table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #555;
}

table tr:hover {
    background: #f8f9fa;
}

table tr:last-child td {
    border-bottom: none;
}

/* Status Styles */
.status-expired {
    background: #ffe0e0 !important;
}

.status-urgent {
    background: #fff3cd !important;
}

.status-warning {
    background: #fff8e1 !important;
}

.status-normal {
    background: white;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-badge.status-expired {
    background: #dc3545;
    color: white;
}

.status-badge.status-urgent {
    background: #ffc107;
    color: #000;
}

.status-badge.status-warning {
    background: #ff9800;
    color: white;
}

.status-badge.status-normal {
    background: #28a745;
    color: white;
}

.type-badge {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}

.type-badge.type-domain {
    background: #e3f2fd;
    color: #1976d2;
}

.type-badge.type-hosting {
    background: #f3e5f5;
    color: #7b1fa2;
}

.days-left {
    font-weight: bold;
    font-size: 16px;
}

.expired-text {
    color: #dc3545;
    font-weight: bold;
}

.domain-name {
    font-weight: 600;
    color: #333;
}

.notes {
    color: #666;
    font-size: 13px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Empty States */
.empty-message {
    text-align: center;
    padding: 40px;
    color: #999;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 8px;
}

.no-reminders {
    text-align: center;
    padding: 60px 20px;
}

.no-reminders-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.no-reminders h2 {
    color: #333;
    margin-bottom: 10px;
}

.no-reminders p {
    color: #666;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 24px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn:hover {
    background: #5568d3;
}

.btn-primary {
    background: #667eea;
}

.btn-primary:hover {
    background: #5568d3;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .main-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .summary-cards {
        grid-template-columns: 1fr;
    }
    
    table {
        font-size: 12px;
    }
    
    table th,
    table td {
        padding: 10px 8px;
    }
    
    .tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}
