:root {
    --primary-color: rgb(15, 224, 136);
    --primary-light: rgba(15, 224, 136, 0.1);
    --secondary-color: #f5f6fa;
    --text-color: #2d3436;
    --sidebar-width: 250px;
    --success-color: rgb(15, 224, 136);
    --primary-hover: rgb(13, 199, 120);
    --gradient-start: rgb(15, 224, 136);
    --gradient-end: rgb(13, 199, 120);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

/* Webkit scrollbar styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--secondary-color);
    color: var(--text-color);
}

/* Login Page */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

.login-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-container .logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-container .logo img {
    width: 200px;
    height: auto;
}

/* Password Input Group */
.password-group .password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.password-group .toggle-password {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    width: auto;
}

.password-group .toggle-password:hover {
    color: var(--primary-color);
    background: none;
}

/* Forgot Password Link */
.forgot-password {
    text-align: right;
    margin-top: 0.5rem;
}

.forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Login Link */
.login-link {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.login-link a {
    color: var(--primary-color);
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.login-link i {
    margin-right: 0.5rem;
}

/* Remember Me Toggle */
.remember-toggle {
    margin: 1rem 0;
}

.remember-toggle .status-toggle {
    justify-content: flex-start;
}

.remember-toggle .status-label {
    color: var(--text-color);
}

/* Forms */
/* Button Base Class */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn i {
    font-size: 1rem;
}

/* Button Variants */
.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-xs {
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #eee;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input[type=color] {
    padding: 0;
}

.file-input-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input-trigger span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.file-input {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

.file-input-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: white;
    border: 2px dashed #ddd;
    border-radius: var(--radius-sm);
    color: #666;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
}

.file-input-trigger i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.file-input-container:hover .file-input-trigger {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.file-input-text {
    margin-left: 0.5rem;
    color: #666;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
}

button {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

button:active {
    transform: translateY(0);
}

/* Sidebar */
.sidebar {
    position: fixed;
    width: var(--sidebar-width);
    height: 100vh;
    background: white;
    padding: 2rem 0 0 0;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    z-index: 1000;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: var(--primary-color);
    border: none;
    border-radius: 5px;
    padding: 0.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    color: white;
}

.hamburger-menu:hover {
    background: var(--primary-hover);
}

.sidebar .logo {
    padding: 0 2rem;
    margin-bottom: 1rem;
}

.sidebar .logo img {
    width: 148px;
    height: auto;
    display: block;
}

.balance-display {
    padding: 1rem 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.balance-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.balance-amount {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
}

.sidebar ul {
    list-style: none;
    padding: 0.5rem 0;
    margin-bottom: auto;
}

.sidebar ul li a {
    display: flex;
    align-items: center;
    padding: 0.85rem 2rem;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
    font-size: 0.95rem;
}

.sidebar ul li a i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.75;
}

.sidebar ul li.active a,
.sidebar ul li a:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.sidebar ul li.active a i,
.sidebar ul li a:hover i {
    opacity: 1;
}

.encrypted-mention {
    padding: 1rem 2rem;
    color: #666;
    font-size: 0.8rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(0, 0, 0, 0.02);
    margin-top: auto;
}

/* Error Page */
.error-container {
    text-align: center;
}

.error-content {
    margin-top: 2rem;
}

.error-content h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error-content p {
    color: #666;
    margin-bottom: 2rem;
}

.error-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 2rem;
    transition: margin-left 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding-top: 4rem;
    }

    .site-selector {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-select {
        width: 100%;
        margin-bottom: 1rem;
    }

    .add-site-btn {
        width: auto;
        margin-left: 0;
    }

    .site-selector label {
        margin-bottom: 0.5rem;
    }
}

/* Site Selector */
.site-selector {
    margin-bottom: 2rem;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-selector label {
    font-weight: 500;
    color: var(--text-color);
}

.site-select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    min-width: 200px;
    background: white;
}

.add-site-btn {
    margin-left: auto;
    width: auto;
}

/* Add Comments Page */
.add-comments-container {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comment-input-group {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-header h3 {
    font-size: 1.1rem;
    color: var(--text-color);
}

.remove-comment-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.25rem;
    width: auto;
    font-size: 1.1rem;
}

.remove-comment-btn:hover {
    color: #bd2130;
    background: none;
}

.rating-input {
    display: flex;
    gap: 0.5rem;
    font-size: 1.5rem;
}

.rating-input i {
    color: #ffc107;
    cursor: pointer;
}

.rating-input i.far {
    color: #ddd;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.secondary-button {
    background: #6c757d;
    color: white;
}

.secondary-button:hover {
    background: #5a6268;
}

.primary-button {
    background: var(--primary-color);
}

.primary-button:hover {
    background: var(--primary-hover);
}

.form-actions button {
    width: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(15, 224, 136, 0.1);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-card h3 {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Tables */
.table-container {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow-x: auto;
    margin-bottom: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}

th {
    background: var(--secondary-color);
    font-weight: 600;
}

td.comment-cell {
    white-space: normal;
    min-width: 300px;
}

/* Layout */
.two-column-grid {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
    gap: 2rem
}

@media (max-width: 1024px) {
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0 auto;
    }

    .settings-form {
        padding: 1.5rem;
        max-width: 100%;
    }

    .help-card {
        padding: 1.25rem;
    }

    .email-preview {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .two-column-grid {
        gap: 1rem;
    }

    .settings-form {
        padding: 1rem;
    }

    .help-card {
        padding: 1rem;
    }

    .help-card h2 {
        font-size: 1.1rem;
    }
}

.settings-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form Messages */
.alert {
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.alert i {
    margin-top: 0.35rem;
    font-size: 1.1rem;
}

.alert p {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.alert ul {
    margin: 0;
    padding-left: 1.25rem;
}

.alert li {
    margin-bottom: 0.25rem;
}

.alert li:last-child {
    margin-bottom: 0;
}

.alert.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}


.alert.alert-info {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.alert.alert-success {
    background-color: rgba(15, 224, 136, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(15, 224, 136, 0.2);
}

/* Help Cards */
.settings-help {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.help-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.help-card h2 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.help-card p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.help-card ul {
    list-style: none;
    margin-left: 1rem;
}

.help-card ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.help-card ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Email Preview */
.email-preview {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .settings-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .email-preview {
        padding: 1.5rem;
    }

    .email-container {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .test-input-group {
        flex-direction: column;
        gap: 1rem;
    }

    .test-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .email-preview,
    .settings-form {
        padding: 1rem;
    }

    .email-header {
        padding: 1rem;
    }

    .email-body {
        padding: 1rem;
        min-height: 150px;
    }

    .email-footer {
        padding: 1rem;
    }

    .email-logo-placeholder {
        width: 120px;
        height: 60px;
    }

    .email-logo {
        max-width: 120px;
        max-height: 60px;
    }
}

.email-preview h2 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.email-container {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.email-header {
    background: #f8f9fa;
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.email-logo-placeholder {
    width: 150px;
    height: 80px;
    margin: 0 auto 1rem;
    background: #eee;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.email-logo {
    max-width: 150px;
    max-height: 80px;
    margin: 0 auto 1rem;
    display: none;
}

.email-logo.visible {
    display: block;
}

.email-body {
    padding: 2rem;
    min-height: 200px;
    background: white;
}

.email-footer {
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #ddd;
    text-align: center;
}

.email-test {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.email-test h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.test-input-group {
    display: flex;
    gap: 1rem;
}

.test-input-group input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.test-button {
    padding: 0.75rem 1.5rem;
    width: auto;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* FAQ Styles */
.faq-container {
    margin: 0;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-question h3 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
}

/* Comments Styles */
.comments-container {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comments-actions {
    margin-bottom: 1.5rem;
}

.delete-button {
    background: #dc3545;
    padding: 0.5rem 1rem;
    width: auto;
}

.delete-button:hover {
    background: #c82333;
}

.rating-stars {
    color: #ffc107;
}

.rating-stars .far {
    color: #ddd;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-published {
    background-color: rgba(15, 224, 136, 0.1);
    color: var(--success-color);
}

.status-unpublished {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Recent Comments */
.recent-comments {
    margin-top: 2rem;
}

.publish-form-left {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.publish-form-right {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.textarea-wrapper {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.copy-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.copy-button:hover {
    background: var(--secondary-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.publish-help {
    margin-top: 1.5rem;
}

.publish-help h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.publish-help p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.publish-form-right textarea {
    flex-grow: 1;
    height: 100%;
    min-height: 300px;
    resize: vertical;
}

.publish-form-left select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background: white;
}

.publish-form-left select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(15, 224, 136, 0.1);
}

.publish-form-left select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.7;
}

.publish-form button {
    align-self: flex-end;
    width: auto;
    min-width: 120px;
}

/* Recent Comments */
.recent-comments {
    margin-top: 2rem;
}

/* Steps List Container */
.steps-list-container {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

/* Steps Filters */
.steps-filters {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Keys Stock Styles */
.keys-stock-container {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stock-filters {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    min-width: 150px;
}

.search-input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    min-width: 250px;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(15, 224, 136, 0.1);
}

.status-toggle {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.status-checkbox {
    opacity: 0;
    position: absolute;
}

.status-label {
    padding-left: 50px;
    position: relative;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
}

.status-label:before {
    content: '';
    position: absolute;
    left: 0;
    width: 40px;
    height: 22px;
    background: #ddd;
    border-radius: 11px;
    transition: background 0.3s ease;
}

.status-label:after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.status-checkbox:checked + .status-label:before {
    background: var(--primary-color);
}

.status-checkbox:checked + .status-label:after {
    transform: translateX(18px);
}

/* Publish Toggle */
.publish-toggle {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.publish-checkbox {
    opacity: 0;
    position: absolute;
}

.publish-label {
    padding-left: 50px;
    position: relative;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
}

.publish-label:before {
    content: '';
    position: absolute;
    left: 0;
    width: 40px;
    height: 22px;
    background: #ddd;
    border-radius: 11px;
    transition: background 0.3s ease;
}

.publish-label:after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.publish-checkbox:checked + .publish-label:before {
    background: var(--primary-color);
}

.publish-checkbox:checked + .publish-label:after {
    transform: translateX(18px);
}

code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9rem;
}

/* Platform Colors */
.platform-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.platform-cell i {
    font-size: 1.2rem;
}

.platform-steam {
    color: #1b2838;
}

.platform-google {
    color: #ea4335;
}

.platform-apple {
    color: #555555;
}

.change-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
    margin-left: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.8rem;
}

.change-email:hover {
    background-color: var(--primary-hover);
    transform: rotate(180deg);
}

.change-email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
    margin-left: 0.5rem;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.8rem;
}

.change-email-btn:hover {
    background-color: var(--primary-hover);
    transform: rotate(180deg);
}

/* Add Keys Styles */
.add-keys-container {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.input-row {
    display: flex;
    gap: 1rem;
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.input-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.keys-form {
    max-width: 800px;
}

.key-type-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background: white;
}

.submit-button {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

/* Comments List Specific Styles */
.comments-list-container,
.clients-list-container {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comments-filters,
.clients-filters {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.filter-group label {
    margin-bottom: 0;
}

.filter-group input,
.filter-group select {
    width: 100%;
}

/* Add Button Styles */
.add-comment-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
    margin-left: auto;
}

/* Pairs List Styles */
.pairs-list {
    margin: 2rem 0;
}

.pair-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--secondary-color);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.pair-info {
    flex: 1;
}

.remove-pair {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.5rem;
    width: auto;
}

.remove-pair:hover {
    color: #bd2130;
    background: none;
    transform: none;
    box-shadow: none;
}

.add-pair-btn {
    margin: 1rem 0;
}

/* Sites List Styles */
.sites-list-container {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sites-filters {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .sites-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .sites-filters .filter-group {
        width: 100%;
    }

    .sites-filters .btn {
        width: 100%;
        justify-content: center;
    }
}

.add-comment-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.add-comment-btn i {
    font-size: 1rem;
}

/* Container Styles */
.content-container {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .comments-filters,
    .clients-filters {
        justify-content: center;
    }

    .filter-group {
        width: 100%;
    }

    .btn.add-site-btn, .add-comment-btn {
        width: 100%;
        justify-content: center;
    }
}

.add-comment-btn {
    margin-left: auto;
}

/* Users List Styles */
.users-list-container {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.users-filters {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.role-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.role-admin {
    background-color: rgba(88, 86, 214, 0.1);
    color: #5856D6;
}

.role-user {
    background-color: rgba(52, 199, 89, 0.1);
    color: #34C759;
}

.actions-cell {
    white-space: nowrap;
}

.btn-icon {
    background: none;
    border: none;
    color: #666;
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    width: auto;
}

.btn-icon:hover {
    color: var(--primary-color);
    background: none;
    transform: none;
    box-shadow: none;
}

.btn-icon i {
    font-size: 1.1rem;
}


/* Pagination Styles */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.col {
    flex: 1;
    min-width: 200px;
    box-sizing: border-box;
}

.col-sm-12 {
    flex: 1 1 100%;
}

.col-md-6 {
    flex: 1 1 48%;
}

.dataTables_paginate {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.dataTables_length {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    padding-left: 1rem;
    padding-top: 1rem;
}

.dataTables_length label {
    font-size: 0.9rem;
    color: var(--text-color);
}

.dataTables_length select {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dataTables_length select:hover {
    border-color: var(--primary-color);
}

.dataTables_length select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.dataTables_filter {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    padding-right: 1rem;
    padding-top: 1rem;
}

.dataTables_filter label {
    font-size: 0.9rem;
    color: var(--text-color);
}

.dataTables_filter input {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.dataTables_filter input:hover {
    border-color: var(--primary-color);
}

.dataTables_filter input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Pagination Styles */
.dataTables_paginate {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-bottom: 2rem;
}

.dataTables_paginate ul {
    display: flex;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.dataTables_paginate a {
    display: inline-block;
    text-decoration: none;
    background: white;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.dataTables_paginate a:hover:not(.disabled) {
    background: var(--secondary-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.dataTables_paginate a.disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.dataTables_paginate li.active a {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Pagination arrows */
.dataTables_paginate a.previous:before,
.dataTables_paginate a.next:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 0.5rem;
}

.dataTables_paginate a.previous:before {
    content: "\f104";
}

.dataTables_paginate a.next:before {
    content: "\f105";
}

.dataTables_info {
    color: #666;
    font-size: 0.9rem;
    margin: 0 1rem;
    padding-top: 0 !important;
}

@media (max-width: 480px) {
    .dataTables_paginate {
        flex-wrap: wrap;
    }

    .dataTables_paginate a {
        padding: 0.5rem;
        min-width: 40px;
    }

    .dataTables_length, .dataTables_filter {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.no-footer tfoot {
    display: none;
}


