/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
    margin: 0;
}

/* Login page specific styles */
body.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Login container */
.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

/* Login card */
.login-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Title */
.title {
    font-size: 28px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

/* Form styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-label {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-field {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    font-style: italic;
}

/* Login button */
.login-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 14px 20px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.login-btn:active {
    transform: translateY(0);
}

/* Error message */
.error-message {
    margin-top: 15px;
    color: #ff6b6b;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #ffffff;
}

/* 404 page styles */
.error-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.home-link {
    display: block;
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.home-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Admin Card - Only visible to admins */
.admin-card {
    display: none;
}

.admin-card.show {
    display: block;
}

/* Admin Modal Styles */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.admin-modal.hidden {
    display: none;
}

.admin-modal-content {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.admin-modal-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
}

.admin-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.admin-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.admin-modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

/* Diary Modal Styles */
.diary-modal, .entry-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.diary-modal.hidden, .entry-modal.hidden {
    display: none;
}

.diary-modal-content, .entry-modal-content {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.diary-modal-header, .entry-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.diary-modal-header h2, .entry-modal-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
}

.diary-modal-close, .entry-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.diary-modal-close:hover, .entry-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.diary-modal-body, .entry-modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

/* Diary Controls */
.diary-page {
    background: #000000;
}

.diary-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px 80px;
}

.diary-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 18px;
}

.diary-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.diary-nav .back-btn {
    justify-self: start;
}

.diary-actions {
    justify-self: end;
}

.diary-title {
    text-align: center;
}

.back-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    letter-spacing: 0.6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.back-btn:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.diary-title h1 {
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 2px;
    margin: 6px 0 0;
}

.diary-kicker {
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.75);
}

.diary-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 28px;
    align-items: center;
}

/* Diary Hero Image */
.diary-hero {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.diary-hero-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    object-fit: contain;
}

.diary-controls {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding-right: 0;
}

.diary-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.diary-btn.right {
    margin-left: auto;
    margin-right: 0;
}

.diary-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 10px 20px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#newEntryBtn {
    padding: 6px 14px;
    font-size: 12px;
    letter-spacing: 0.6px;
}

.diary-btn.primary {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
}

.diary-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Diary Entries */
.diary-entries {
    color: rgba(255, 255, 255, 0.9);
    display: grid;
    gap: 8px;
    width: 100%;
    justify-items: center;
    margin: 0 auto;
}

.diary-entry-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: visible;
    width: min(760px, 92vw);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.diary-entry-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.diary-entry-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.diary-entry-preview {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.diary-entry-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.diary-entry-open {
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 4px 10px;
    transition: all 0.3s ease;
}

.diary-entry-card:hover .diary-entry-open {
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
}

/* Entry Viewer */
.entry-view-content {
    max-width: 860px;
}

.entry-view-header {
    align-items: flex-start;
}

.entry-view-heading {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.entry-view-kicker {
    margin: 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
}

.entry-view-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.entry-view-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.entry-view-text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.entry-view-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.entry-view-action {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    color: #ffffff;
    padding: 8px 16px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.entry-view-action:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.45);
}

.entry-view-action.danger:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* Expandable Title Header */
.diary-entry-title-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}

.diary-entry-title-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Expandable Content Section */
.diary-entry-content-section {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(255, 255, 255, 0.02);
    padding: 0 22px;
}

.diary-entry-content-section.expanded {
    padding: 20px 22px;
}

.diary-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.diary-entry-title {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
}

.diary-entry-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.diary-entry-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    white-space: pre-wrap;
    margin-bottom: 15px;
}

.diary-entry-actions {
    display: flex;
    gap: 0;
    justify-content: flex-end;
    position: relative;
}

.edit-btn, .delete-btn {
    padding: 6px 12px;
    border: 1px solid #ffffff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #000000;
    color: #ffffff;
}

.edit-btn {
    min-width: 64px;
}

.edit-btn:hover {
    background: #111111;
}

.delete-btn {
    border-radius: 4px;
}

.delete-btn:hover {
    background: #111111;
}

.entry-action-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    min-width: 140px;
    background: #000000;
    border: 1px solid #ffffff;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.entry-action-menu.hidden {
    display: none;
}

.entry-action-item {
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 8px 12px;
    text-align: left;
    font-size: 12px;
    cursor: pointer;
}

.entry-action-item + .entry-action-item {
    border-top: 1px solid #ffffff;
}

.entry-action-item:hover {
    background: #111111;
}

/* Entry Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

.entry-input, .entry-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 12px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}

.entry-input:focus, .entry-textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.entry-input::placeholder, .entry-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.cancel-btn, .save-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cancel-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cancel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.save-btn {
    background: #4CAF50;
    color: white;
}

.save-btn:hover {
    background: #45a049;
}

.admin-panel h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center;
}

.pending-accounts {
    color: rgba(255, 255, 255, 0.9);
}

.account-requests {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.account-request {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.account-info strong {
    font-size: 16px;
    color: #ffffff;
}

.account-info span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.account-actions {
    display: flex;
    gap: 10px;
}

.approve-btn, .deny-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.approve-btn {
    background: #4CAF50;
    color: white;
}

.approve-btn:hover {
    background: #45a049;
    transform: translateY(-1px);
}

.deny-btn {
    background: #f44336;
    color: white;
}

.deny-btn:hover {
    background: #da190b;
    transform: translateY(-1px);
}

/* Responsive design */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
        margin: 20px;
    }

    .title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .diary-nav {
        align-items: flex-start;
    }

    .diary-title h1 {
        font-size: 26px;
    }

    .diary-hero {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Dashboard Styles */
.dashboard-container {
    min-height: 100vh;
    background: #000000;
    color: #ffffff;
    padding: 20px;
}

.dashboard-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
    gap: 20px;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: 'Courier New', Monaco, 'Bitstream Vera Sans Mono', 'Lucida Console', Terminal, monospace;
    font-size: 12px;
    color: #ffffff;
    text-align: left;
}

.login-status {
    font-weight: bold;
    color: #ffffff;
}

.session-info, .last-login {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
}

.header-title {
    text-align: center;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
}

.header-actions {
    display: flex;
    justify-content: flex-end;
}

.dashboard-title {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    margin: 0;
}

.logout-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 8px 16px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.dashboard-main {
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-section {
    text-align: center;
    margin-bottom: 40px;
}

.welcome-section h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.welcome-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 14px;
}

.feature-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 10px 20px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Dashboard responsive design */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .dashboard-title {
        font-size: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

.welcome-section h2 {
    font-size: 24px;
}
}

/* New Entry Button in Header */
.new-entry-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    letter-spacing: 0.6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-right: 12px;
}

.new-entry-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

/* Encryption Controls */
.encryption-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.encryption-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.encryption-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.encryption-toggle-btn.active {
    background: rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.5);
}

.encryption-icon {
    font-size: 14px;
}

.encryption-status {
    font-weight: 500;
}

/* Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #4CAF50;
    border-color: #4CAF50;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label:hover .checkmark {
    border-color: rgba(255, 255, 255, 0.5);
}

/* Encryption Setup Modal */
.encryption-info {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.encryption-info p {
    margin: 0 0 8px 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.encryption-info p:last-child {
    margin-bottom: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.admin-tab {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.admin-tab:hover {
    color: rgba(255, 255, 255, 0.9);
}

.admin-tab.active {
    color: #ffffff;
    border-bottom-color: #4CAF50;
}

.admin-tab-content {
    position: relative;
}

.admin-tab-pane {
    display: none;
}

.admin-tab-pane.active {
    display: block;
}

/* User Management */
.user-management {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-row {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-info strong {
    font-size: 16px;
    color: #ffffff;
}

.role-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-admin {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.role-user {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.role-pending {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.user-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.upload-limit-control {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

.upload-limit-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.upload-limit-input {
    width: 72px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 4px 6px;
    color: #ffffff;
    font-size: 12px;
}

.upload-limit-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.upload-limit-unit {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 4px 6px;
    color: #ffffff;
    font-size: 12px;
    cursor: pointer;
    min-width: 50px;
}

.upload-limit-unit:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.upload-limit-unit option {
    background: #000000;
    color: #ffffff;
}

.upload-limit-btn {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.4);
    border-radius: 4px;
    padding: 4px 8px;
    color: #a5f1b1;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-limit-btn:hover {
    background: rgba(76, 175, 80, 0.25);
    border-color: rgba(76, 175, 80, 0.6);
}

.role-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 6px 10px;
    color: #ffffff;
    font-size: 12px;
    cursor: pointer;
}

.role-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.delete-user-btn {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 4px;
    padding: 6px 12px;
    color: #f44336;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-user-btn:hover {
    background: rgba(244, 67, 54, 0.2);
    border-color: rgba(244, 67, 54, 0.5);
}

/* File Storage Styles */
.file-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    cursor: default;
}

.file-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.file-info {
    flex: 1;
}

.file-name {
    margin-bottom: 4px;
}

.file-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.file-actions {
    display: flex;
    gap: 8px;
    width: 100%;
    justify-content: flex-end;
}

.file-action-btn {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: transparent;
    color: #ffffff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.file-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.file-action-btn.download-btn:hover {
    background: rgba(40, 167, 69, 0.2);
    border-color: rgba(40, 167, 69, 0.5);
}

.file-action-btn.delete-btn:hover {
    background: rgba(244, 67, 54, 0.2);
    border-color: rgba(244, 67, 54, 0.5);
}

/* Upload Modal Styles */
.upload-modal-content {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.upload-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.upload-modal-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
}

.upload-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.upload-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.upload-modal-body {
    padding: 20px;
}

.file-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 12px;
    color: #ffffff;
    width: 100%;
    font-size: 14px;
}

.file-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.file-info {
    margin-top: 8px;
}

.file-info small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* Upload Progress Styles */
.upload-progress {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.upload-progress.hidden {
    display: none;
}

.progress-info {
    margin-bottom: 15px;
}

.progress-filename {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 5px;
    word-break: break-all;
}

.progress-stats {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.progress-bar-container {
    position: relative;
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-percentage {
    position: absolute;
    right: 0;
    top: -25px;
    font-size: 12px;
    font-weight: 600;
    color: #4CAF50;
    background: rgba(0, 0, 0, 0.8);
    padding: 2px 6px;
    border-radius: 3px;
    min-width: 35px;
    text-align: center;
}

.progress-controls {
    display: flex;
    justify-content: center;
}

.cancel-upload-btn {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cancel-upload-btn:hover {
    background: rgba(244, 67, 54, 0.2);
    border-color: rgba(244, 67, 54, 0.5);
}

.cancel-upload-btn:active {
    transform: translateY(1px);
}

/* Share Modal Styles */
.share-filename {
    font-weight: 500;
    color: #ffffff;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    word-break: break-all;
}

.share-expiry {
    width: 100%;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
}

.share-expiry:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.share-result {
    text-align: center;
}

.share-result.hidden {
    display: none;
}

.share-success h3 {
    color: #4CAF50;
    margin-bottom: 20px;
    font-size: 20px;
}

.share-url-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.share-url-input {
    flex: 1;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
    font-family: monospace;
}

.share-url-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.copy-btn {
    padding: 10px 16px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 4px;
    color: #4CAF50;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    background: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.5);
}

.share-info p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.4;
}

.share-info p:first-child {
    color: rgba(255, 255, 255, 0.8);
}

.share-info p:last-child {
    color: #ff9800;
    font-weight: 500;
}

/* Share Dropdown Styles */
.share-dropdown {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    min-width: 400px;
    max-width: 600px;
    max-height: 70vh;
    overflow-y: auto;
}

.share-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.share-dropdown-header h4 {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
}

.share-dropdown-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.share-dropdown-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.create-share-btn {
    width: 100%;
    padding: 12px 20px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 6px;
    color: #4CAF50;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 16px 20px;
}

.create-share-btn:hover {
    background: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.5);
}

.share-links-container {
    padding: 0 20px 20px;
}

.no-share-links {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    padding: 20px;
    font-style: italic;
}

.share-links-section {
    margin-bottom: 20px;
}

.share-links-section h5 {
    margin: 0 0 12px 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-links-active h5 {
    color: #4CAF50;
}

.share-links-expired h5 {
    color: #ff9800;
}

.share-links-revoked h5 {
    color: #f44336;
}

.share-link-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 8px;
}

.share-url-container {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.share-url-display {
    flex: 1;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #ffffff;
    font-size: 12px;
    font-family: monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.share-url-display:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.copy-share-url-btn {
    padding: 6px 10px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 4px;
    color: #4CAF50;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-share-url-btn:hover {
    background: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.5);
}

.share-link-info {
    margin-bottom: 8px;
}

.share-link-expiry, .share-link-stats {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
}

.share-link-actions {
    display: flex;
    justify-content: flex-end;
}

.revoke-share-btn {
    padding: 4px 8px;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 4px;
    color: #f44336;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.revoke-share-btn:hover {
    background: rgba(244, 67, 54, 0.2);
    border-color: rgba(244, 67, 54, 0.5);
}

/* Responsive progress bar */
@media (max-width: 480px) {
    .progress-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .progress-percentage {
        top: -20px;
        font-size: 11px;
        padding: 1px 4px;
    }

    .share-url-container {
        flex-direction: column;
    }

    .copy-btn {
        align-self: stretch;
    }

    .share-dropdown {
        min-width: 320px;
        max-width: 90vw;
    }

    .share-url-display {
        font-size: 11px;
    }
}

/* Analytics Modal Styles */
.analytics-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.analytics-modal.hidden {
    display: none;
}

.analytics-modal-content {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.analytics-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.analytics-modal-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
}

.analytics-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.analytics-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.analytics-modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

/* Backup Modal Styles */
.backup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.backup-modal.hidden {
    display: none;
}

.backup-modal-content {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.backup-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.backup-modal-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
}

.backup-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.backup-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.backup-modal-body {
    padding: 0;
}

/* Backup Tabs */
.backup-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
}

.backup-tab {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 15px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    flex: 1;
}

.backup-tab:hover {
    color: rgba(255, 255, 255, 0.9);
}

.backup-tab.active {
    color: #ffffff;
    border-bottom-color: #4CAF50;
}

.backup-tab-content {
    padding: 20px;
}

.backup-tab-pane {
    display: none;
}

.backup-tab-pane.active {
    display: block;
}

/* Backup Settings */
.backup-settings h3 {
    margin: 0 0 20px 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
}

.backup-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.radio-option:hover {
    color: #ffffff;
}

.radio-option input[type="radio"] {
    margin: 0;
}

.backup-actions {
    margin-top: 30px;
    text-align: center;
}

.backup-create-btn {
    background: #4CAF50;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.backup-create-btn:hover {
    background: #45a049;
    transform: translateY(-1px);
}

/* Backup Progress */
.backup-progress {
    text-align: center;
}

.backup-progress h3 {
    margin: 0 0 20px 0;
    color: #ffffff;
    font-size: 18px;
}

.progress-info {
    margin-bottom: 20px;
}

.progress-status {
    font-size: 16px;
    color: #4CAF50;
    margin-bottom: 5px;
}

.progress-stats {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.progress-bar-container {
    position: relative;
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 6px;
}

.progress-percentage {
    position: absolute;
    right: 0;
    top: -25px;
    font-size: 12px;
    font-weight: 600;
    color: #4CAF50;
    background: rgba(0, 0, 0, 0.8);
    padding: 2px 6px;
    border-radius: 3px;
    min-width: 35px;
    text-align: center;
}

.progress-eta {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Backup List */
.backup-list {
    color: rgba(255, 255, 255, 0.9);
}

.backup-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin-bottom: 10px;
}

.backup-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.backup-name {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
}

.backup-details {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.backup-actions {
    display: flex;
    gap: 8px;
}

.backup-download-btn, .backup-delete-btn {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: transparent;
    color: #ffffff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.backup-download-btn:hover {
    background: rgba(40, 167, 69, 0.2);
    border-color: rgba(40, 167, 69, 0.5);
}

.backup-delete-btn:hover {
    background: rgba(244, 67, 54, 0.2);
    border-color: rgba(244, 67, 54, 0.5);
}

/* Analytics Tabs */
.analytics-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.analytics-tab {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.analytics-tab:hover {
    color: rgba(255, 255, 255, 0.9);
}

.analytics-tab.active {
    color: #ffffff;
    border-bottom-color: #4CAF50;
}

.analytics-tab-content {
    position: relative;
}

.analytics-tab-pane {
    display: none;
}

.analytics-tab-pane.active {
    display: block;
}

/* Analytics Content */
.analytics-section {
    margin-bottom: 30px;
}

.analytics-section h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 24px;
    font-weight: 600;
    color: #4CAF50;
    margin-bottom: 5px;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* Activity List */
.activity-list {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 15px;
}

.activity-group {
    margin-bottom: 20px;
}

.activity-group:last-child {
    margin-bottom: 0;
}

.activity-group h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity-group li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 5px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 13px;
}

.activity-group li:last-child {
    margin-bottom: 0;
}

.activity-group li strong {
    color: #ffffff;
}

.activity-group li span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}
