        /* Basic Reset & Font */
        body, html {
            height: 100%;
            margin: 0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: #121212;
            color: #e0e0e0;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Login Container */
        .login-container {
            padding: 40px;
            background-color: #1e1e1e;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
            width: 100%;
            max-width: 400px;
            text-align: center;
        }

        .login-container h2 {
            margin-bottom: 24px;
            color: #ffffff;
            font-weight: 500;
        }

        /* Form Styling */
        form {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        input[type="text"],
        input[type="password"] {
            background-color: #2c2c2c;
            border: 1px solid #444;
            border-radius: 4px;
            padding: 12px;
            color: #e0e0e0;
            font-size: 16px;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        input[type="text"]:focus,
        input[type="password"]:focus {
            outline: none;
            border-color: #6200ea; /* A nice accent color */
            box-shadow: 0 0 0 2px rgba(98, 0, 234, 0.5);
        }

        button {
            background-color: #6200ea;
            color: #ffffff;
            border: none;
            border-radius: 4px;
            padding: 12px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        button:hover {
            background-color: #7f39fb;
        }

        /* Error Message */
        .error-message {
            color: #ff8a80; /* A material design error color */
            margin-top: 16px;
            min-height: 20px; /* Prevents layout shift */
        }
        
        /* General Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.main-header {
    background-color: #1e1e1e;
    padding: 15px 0;
    width: 100%;
    position: fixed; /* Fix header to top */
    top: 0;
    left: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}

.main-nav span {
    margin-right: 15px;
    opacity: 0.8;
}

.main-nav a {
    color: #bb86fc; /* A nice purple accent */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #ffffff;
}

/* Main Content Area */
body {
    /* Override flexbox from login to allow scrolling */
    display: block; 
    padding-top: 80px; /* Add padding to prevent content from hiding behind fixed header */
}

main.container {
    padding-top: 30px;
    padding-bottom: 30px;
}

.content-card {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px; /* This adds the gap */
}

/* Sites Table */
.sites-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.sites-table th,
.sites-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.sites-table th {
    background-color: #2c2c2c;
    font-weight: 500;
}

.sites-table tbody tr:hover {
    background-color: #2a2a2a;
}

.sites-table a {
    color: #bb86fc;
    text-decoration: none;
}
.sites-table a:hover {
    text-decoration: underline;
}

/* Status Badges */
.status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}
.status-active { background-color: #2e7d32; color: #c8e6c9; }
.status-suspended { background-color: #f57c00; color: #ffecb3; }
.status-archived { background-color: #546e7a; color: #cfd8dc; }

/* Action Buttons */
.actions .button {
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    margin-right: 5px;
    display: inline-block;
}
.button-secondary { background-color: #444; color: #fff; }
.button-secondary:hover { background-color: #555; }
.button-warning { background-color: #e65100; /* A darker orange */ color: #fff; }
.button-warning:hover { background-color: #f57c00; /* Use the old orange for the hover effect */ }
.button-success { background-color: #2e7d32; color: #fff; }
.button-success:hover { background-color: #388e3c; }

.button-pending {
    background-color: #546e7a; /* A neutral blue-grey color */
    color: #fff;
    cursor: not-allowed;
    opacity: 0.8;
}

/* User Management Form */
.user-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-weight: bold;
    color: #a0a0a0;
}
.form-group input,
.form-group select {
    background-color: #2c2c2c;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 10px;
    color: #e0e0e0;
    font-size: 16px;
}
.button-primary { 
    background-color: #6200ea; 
    color: white; border: none; 
    padding: 10px 15px; 
    border-radius: 4px; 
    cursor: pointer; 
    font-size: 16px; 
    align-self: flex-start;
}
.button-primary:hover { background-color: #7f39fb; }

/* Notification Messages */
.message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: bold;
}
.message.success {
    background-color: #2e7d32;
    color: #c8e6c9;
}
.message.error {
    background-color: #c62828;
    color: #ffcdd2;
}

/* Search Input Styling */
#searchInput {
    width: 100%;
    max-width: 400px;
    background-color: #2c2c2c;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 10px;
    color: #e0e0e0;
    font-size: 16px;
    margin-bottom: 20px;
    display: block;
}
#searchInput:focus {
    outline: none;
    border-color: #6200ea;
    box-shadow: 0 0 0 2px rgba(98, 0, 234, 0.5);
}

.backup-list {
    list-style: none;
    padding: 0;
}
.backup-list li {
    background-color: #2c2c2c;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 10px;
}
.backup-list li a {
    color: #bb86fc;
    text-decoration: none;
    font-weight: bold;
}
.backup-list li a:hover {
    text-decoration: underline;
}
.db-indicator {
    font-size: 0.8em;
    color: #8bc34a; /* A light green color */
    font-weight: bold;
    margin-left: 5px;
}

.button-cpanel {
    background-color: #FF6C2C; /* Official cPanel Orange */
    color: #fff;
    font-weight: bold;
    padding: 6px 10px; /* Slightly wider padding */
    min-width: 35px;
    text-align: center;
}
.button-cpanel:hover {
    background-color: #e05a20;
    color: #fff;
}

/* --- Backup Table Actions Spacing --- */
.backup-table .actions .button {
    margin-right: 10px; /* Add space between the Download and Delete buttons */
}
.backup-table .actions .button:last-child {
    margin-right: 0; /* Remove margin from the last button */
}

/* --- Danger Zone Styling --- */
.danger-zone {
    margin-top: 40px;
    /* A very dark red background to fit the theme */
    background-color: rgba(68, 12, 12, 0.5); 
    /* A bright red border to highlight warning */
    border: 1px solid #d32f2f; 
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.danger-zone h3 {
    color: #ff8a80; /* A lighter red/pink color for the heading */
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

/* Add a warning icon before the heading text */
.danger-zone h3::before {
    content: '⚠️'; 
    margin-right: 10px;
    font-size: 1.2em;
}

.danger-zone p {
    color: #ccc; /* Slightly muted text color */
    margin-bottom: 25px;
    font-size: 0.95em;
    line-height: 1.5;
}

/* --- Colored Headers --- */
.text-blue { color: #64b5f6; margin-top: 0; }
.text-purple { color: #bb86fc; margin-top: 0; }
.text-red { color: #ff5252; margin-top: 0; }

/* --- Danger Card Specifics --- */
.content-card.card-danger {
    border: 1px solid #d32f2f; /* Red border */
    background-color: #251818; /* Very subtle red tint background */
}

/* Ensure the back link looks neat at the top */
.top-nav-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #bb86fc;
    text-decoration: none;
    font-size: 0.9em;
}
.top-nav-link:hover { text-decoration: underline; }