body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f4f7f6;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px 0;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 20px;
}

.login-container {
    max-width: 450px;
}

.card {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px S10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

h1, h2, h3, h4 {
    color: #333;
}

h1 {
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.input-group input[type="text"],
.input-group input[type="password"],
.input-group input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-group input {
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    color: #555;
}

.btn {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0056b3;
}

.links {
    text-align: center;
    margin-top: 20px;
}

.links a {
    display: block;
    color: #007bff;
    text-decoration: none;
    margin-top: 10px;
}

.links a:hover {
    text-decoration: underline;
}

/* Message Box Styles */
.message-box {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 15px;
    border: 1px solid transparent;
}

.message-box.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.message-box.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Dashboard & Admin Panel Styles */
.dashboard-container {
    max-width: 800px;
}

.header {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.tabs {
    overflow: hidden;
    background: #ffffff;
    border-radius: 8px 8px 0 0;
}

.tab-link {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    width: 50%;
}

.tab-link:hover {
    background-color: #ddd;
}

.tab-link.active {
    background-color: #ccc;
    font-weight: bold;
}

.tab-content {
    display: none;
    padding: 20px;
    background: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#subscriptions ul {
    list-style: none;
    padding: 0;
}

#subscriptions li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.status-completed {
    color: #28a745;
    font-weight: bold;
}

.status-processing {
    background-color: #ffc107;
    color: #333;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-top: 15px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.content-item {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
}

/* Admin Table Styles */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.admin-table th, .admin-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    background-color: #f2f2f2;
}

.btn-approve {
    background-color: #28a745;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-approve:hover {
    background-color: #218838;
}

.logout-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #dc3545;
    text-decoration: none;
    font-weight: bold;
}

.logout-link:hover {
    text-decoration: underline;
}