@import url('theme.css');

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text);
    line-height: 1.5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.app-container {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

/* Utility Classes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--background-light);
    color: var(--text);
}

.btn-secondary:hover {
    background-color: var(--background-dark);
    transform: translateY(-1px);
}

.btn-success {
    background-color: var(--success);
    color: white;
}

.btn-success:hover {
    background-color: #1e8e4a;
    transform: translateY(-1px);
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-danger:hover {
    background-color: #d32f2f;
    transform: translateY(-1px);
}

.btn-blue {
    background-color: var(--blue);
    color: white;
}

.btn-blue:hover {
    background-color: var(--blue-dark);
    transform: translateY(-1px);
}

.alert {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.alert-error {
    background-color: rgba(242, 63, 66, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
}

/* Sidebar Styles */
.sidebar {
    width: 240px;
    height: 100vh;
    position: fixed;
    padding: 20px;
    left: 0;
    top: 0;
}

.user-info {
    text-align: center;
    margin-bottom: 20px;
}

.user-info img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.nav-links {
    list-style: none;
    padding: 0;
}

.nav-links li {
    margin: 10px 0;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 10px;
    display: block;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Content Styles */
.content {
    flex: 1;
    margin-left: 240px; /* Ensure content does not overlap with sidebar */
    padding: 30px;
}

.banned-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banned-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.banned-card {
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.banned-icon {
    font-size: 48px;
    margin: 1rem 0;
}

.banned-message {
    margin: 1.5rem 0;
}

.banned-message p {
    margin: 0.5rem 0;
    color: var(--text-muted);
}

.appeal-text {
    margin-top: 1.5rem !important;
}

.support-email {
    display: inline-block;
    color: var(--primary);
    font-weight: 500;
    margin: 0.5rem 0;
    text-decoration: none;
}

.support-email:hover {
    text-decoration: underline;
}

.banned-footer {
    margin-top: 2rem;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

/* Input Fields */
input, textarea, select {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Table */
table {
    background: rgba(255, 255, 255, 0) !important;
}

tr:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}
