/* 
 * BDSM Slave Dashboard Stylesheet
 * Sleek, dark obsidian, glassmorphism, glowing crimson and purple highlights.
 */

:root {
    --bg-main: #0c0817;
    --bg-card: rgba(22, 16, 42, 0.45);
    --border-glass: rgba(255, 30, 86, 0.15);
    --border-glass-hover: rgba(255, 30, 86, 0.35);
    --color-text: #e6e3f2;
    --color-text-muted: #8e88aa;
    --color-primary: #ff1e56; /* Hot Crimson */
    --color-secondary: #9c27b0; /* Royal Kink Purple */
    --color-cyan: #00f0ff; /* Cyber Cyan */
    --color-danger: #ff0055;
    --color-success: #00ff66;
    --shadow-glow-crimson: 0 0 20px rgba(255, 30, 86, 0.25);
    --shadow-glow-purple: 0 0 20px rgba(156, 39, 176, 0.25);
    --font-sans: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    background-color: var(--bg-main) !important;
    color: var(--color-text) !important;
    font-family: var(--font-sans);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Scrollbar customizations */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(12, 8, 23, 0.5);
}
::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

.bdsm-dashboard-wrapper {
    position: relative;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Background glows */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
}
.bg-glow-primary {
    top: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: var(--color-primary);
}
.bg-glow-secondary {
    bottom: 10%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: var(--color-secondary);
}

.bdsm-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 25px;
    width: 100%;
    max-width: 1500px;
}

@media (max-width: 992px) {
    .bdsm-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SIDEBAR STYLE
   ========================================================================== */
.bdsm-sidebar {
    background: rgba(18, 12, 36, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
    position: sticky;
    top: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

@media (max-width: 992px) {
    .bdsm-sidebar {
        height: auto;
        position: relative;
        top: 0;
    }
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.slave-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    position: relative;
    box-shadow: var(--shadow-glow-crimson);
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--bg-main);
}
.status-indicator.online {
    background: var(--color-success);
}

.slave-profile-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
.role-badge {
    margin: 3px 0 0 0;
    font-size: 11px;
    background: rgba(255, 30, 86, 0.15);
    color: var(--color-primary);
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(255, 30, 86, 0.3);
    display: inline-block;
}

.sidebar-status-panel {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.status-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 10px;
}
.status-item:last-child {
    margin-bottom: 0;
}
.status-item .label {
    color: var(--color-text-muted);
}
.status-item .value {
    font-weight: 500;
}
.status-item .state-locked {
    color: var(--color-primary);
    text-shadow: 0 0 5px rgba(255, 30, 86, 0.5);
}
.text-glow {
    text-shadow: 0 0 8px var(--color-cyan);
    color: var(--color-cyan);
}

.sidebar-nav {
    flex-grow: 1;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--color-text-muted);
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-item:hover, .nav-item.active {
    background: rgba(255, 30, 86, 0.08);
}

.nav-item:hover a, .nav-item.active a {
    color: var(--color-text);
}
.nav-item.active {
    border-left: 3px solid var(--color-primary);
}
.nav-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 12px;
}
.safe-word {
    font-weight: 600;
    letter-spacing: 1px;
}

/* ==========================================================================
   MAIN CONTENT AREA & CARDS
   ========================================================================== */
.bdsm-main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    transition: border 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
    border-color: var(--border-glass-hover);
}

/* glow variants */
.glow-crimson {
    box-shadow: 0 4px 20px 0 rgba(255, 30, 86, 0.05), inset 0 0 12px rgba(255, 30, 86, 0.05);
}
.glow-crimson:hover {
    box-shadow: 0 4px 25px 0 rgba(255, 30, 86, 0.15), inset 0 0 16px rgba(255, 30, 86, 0.1);
}
.glow-purple {
    box-shadow: 0 4px 20px 0 rgba(156, 39, 176, 0.05), inset 0 0 12px rgba(156, 39, 176, 0.05);
}
.glow-purple:hover {
    box-shadow: 0 4px 25px 0 rgba(156, 39, 176, 0.15), inset 0 0 16px rgba(156, 39, 176, 0.1);
}
.glow-blue {
    box-shadow: 0 4px 20px 0 rgba(0, 240, 255, 0.05), inset 0 0 12px rgba(0, 240, 255, 0.05);
}
.glow-blue:hover {
    box-shadow: 0 4px 25px 0 rgba(0, 240, 255, 0.15), inset 0 0 16px rgba(0, 240, 255, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}
.card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Grids */
.dashboard-grid {
    display: grid;
    gap: 20px;
}
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
}

.flex-column {
    display: flex;
    flex-direction: column;
}
.align-center {
    align-items: center;
}
.text-center {
    text-align: center;
}
.width-100 {
    width: 100%;
}
.margin-top {
    margin-top: 20px;
}
.margin-top-lg {
    margin-top: 30px;
}
.margin-bottom {
    margin-bottom: 20px;
}
.border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.p-top {
    padding-top: 20px;
}
.p-md {
    padding: 35px 20px;
}

/* Notification bar */
.notification-bar {
    background: linear-gradient(90deg, rgba(156, 39, 176, 0.8), rgba(255, 30, 86, 0.8));
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(255, 30, 86, 0.3);
    animation: slideDown 0.4s ease-out;
}
.notification-bar.hidden {
    display: none;
}
.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.8;
}
.close-btn:hover {
    opacity: 1;
}

/* ==========================================================================
   STAT CARDS & SUBTEXTS
   ========================================================================== */
.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
}
.stat-card .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-primary);
}
.stat-card.glow-purple .card-icon {
    color: var(--color-secondary);
}
.stat-card.glow-blue .card-icon {
    color: var(--color-cyan);
}

.stat-content {
    flex-grow: 1;
}
.stat-title {
    font-size: 13px;
    color: var(--color-text-muted);
}
.stat-content h2 {
    margin: 3px 0 6px 0;
    font-size: 22px;
    font-weight: 700;
}
.subtext {
    font-size: 12px;
    color: var(--color-text-muted);
    display: block;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    width: 0%;
    transition: width 0.4s ease;
}

/* ==========================================================================
   TABS DISPLAY
   ========================================================================== */
.dashboard-tab {
    display: none;
    animation: fadeIn 0.4s ease;
}
.dashboard-tab.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ==========================================================================
   COMMAND QUEUE LIST
   ========================================================================== */
.command-queue-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.command-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}
.command-item:hover {
    background: rgba(255, 255, 255, 0.04);
}
.command-info {
    display: flex;
    flex-direction: column;
}
.command-text {
    font-size: 14px;
    font-weight: 500;
}
.command-expiry {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-top: 3px;
}
.badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}
.badge-success {
    background: rgba(0, 255, 102, 0.15);
    color: var(--color-success);
    border: 1px solid rgba(0, 255, 102, 0.2);
}
.badge-warning {
    background: rgba(255, 156, 0, 0.15);
    color: #ff9c00;
    border: 1px solid rgba(255, 156, 0, 0.2);
}
.badge-pulse {
    background: rgba(255, 30, 86, 0.15);
    color: var(--color-primary);
    border: 1px solid rgba(255, 30, 86, 0.3);
    animation: borderPulse 1.5s infinite;
}

.empty-state {
    text-align: center;
    color: var(--color-text-muted);
    padding: 20px;
    font-size: 14px;
}

/* ==========================================================================
   ROUTINE WIDGETS
   ========================================================================== */
.routine-quick-view {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.routine-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(156, 39, 176, 0.1);
    border: 1px solid rgba(156, 39, 176, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--color-secondary);
}
.routine-text strong {
    font-size: 13px;
    color: var(--color-text-muted);
    display: block;
}
.routine-text p {
    margin: 3px 0 0 0;
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.4;
}

/* ==========================================================================
   TASK CHECKLIST
   ========================================================================== */
.task-checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.task-row {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}
.task-row:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}
.task-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.task-check-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--color-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.task-check-circle:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 8px rgba(255, 30, 86, 0.4);
}
.task-row.completed .task-check-circle {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow-crimson);
}
.task-row.completed .task-check-circle i {
    color: #fff;
    font-size: 11px;
    display: block !important;
}
.task-check-circle i {
    display: none;
}

.task-details h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
}
.task-row.completed .task-details h4 {
    text-decoration: line-through;
    color: var(--color-text-muted);
}
.task-meta {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}
.task-category {
    font-size: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--color-text-muted);
}
.task-points {
    font-size: 11px;
    color: var(--color-cyan);
    font-weight: 600;
}

/* Forms styling */
.dashboard-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 500;
}
.form-group input, .form-group textarea, .form-group select {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 12px;
    color: var(--color-text);
    font-family: var(--font-sans);
    outline: none;
    transition: all 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow-crimson);
}

.btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    box-shadow: var(--shadow-glow-crimson);
}
.btn-primary:hover {
    opacity: 0.95;
    box-shadow: 0 0 15px rgba(255, 30, 86, 0.4);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}
.btn-danger {
    background: var(--color-danger);
    color: #fff;
}
.btn-danger:hover {
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
}
.btn-outline-primary {
    background: none;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}
.btn-outline-primary:hover {
    background: var(--color-primary);
    color: #fff;
}
.btn-outline-danger {
    background: none;
    border: 1px solid var(--color-danger);
    color: var(--color-danger);
}
.btn-outline-danger:hover {
    background: var(--color-danger);
    color: #fff;
}
.btn-outline-purple {
    background: none;
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
}
.btn-outline-purple:hover {
    background: var(--color-secondary);
    color: #fff;
}
.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

/* Expenditure Transaction logs */
.transaction-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.transaction-list li {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.transaction-list .amount {
    color: var(--color-danger);
    font-family: var(--font-mono);
    font-weight: bold;
}

/* ==========================================================================
   CONTRACT PAPER LOOK & RULES
   ========================================================================== */
.contract-box {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 25px;
}
.contract-content-paper {
    font-family: 'Outfit', sans-serif;
    color: #c9c3e6;
    line-height: 1.6;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 15px;
    font-size: 14px;
}
.contract-content-paper h2 {
    color: #fff;
    font-size: 20px;
    border-bottom: 1px solid rgba(255, 30, 86, 0.15);
    padding-bottom: 10px;
    margin-top: 0;
}
.contract-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    margin-top: 20px;
}

.rules-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}
.rules-table th, .rules-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.rules-table th {
    color: var(--color-text-muted);
    font-weight: 500;
}
.rules-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

.badge-severity {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}
.severity-Critical {
    background: rgba(255, 0, 85, 0.15);
    color: var(--color-danger);
    border: 1px solid rgba(255, 0, 85, 0.3);
}
.severity-High {
    background: rgba(255, 156, 0, 0.15);
    color: #ff9c00;
    border: 1px solid rgba(255, 156, 0, 0.3);
}
.severity-Medium {
    background: rgba(0, 240, 255, 0.15);
    color: var(--color-cyan);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

/* ==========================================================================
   REWARDS SHOP & PUNISHMENTS
   ========================================================================== */
.rewards-balance-bar {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}
.rewards-balance-bar h3 {
    margin: 0;
    font-size: 20px;
}
.points-glow {
    color: var(--color-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
    font-weight: 700;
}

.rewards-shop-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    max-height: 450px;
    overflow-y: auto;
    padding-right: 10px;
}
.reward-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}
.reward-card:hover {
    background: rgba(255, 255, 255, 0.04);
}
.reward-details h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}
.reward-details p {
    margin: 4px 0 0 0;
    font-size: 12px;
    color: var(--color-text-muted);
}
.reward-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.reward-cost {
    font-size: 15px;
    color: var(--color-cyan);
    font-family: var(--font-mono);
    font-weight: 700;
}

.punishments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.punish-card {
    background: rgba(255, 30, 86, 0.03);
    border: 1px solid rgba(255, 30, 86, 0.1);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.punish-card.cleared {
    background: rgba(255, 255, 255, 0.01);
    border-color: rgba(255, 255, 255, 0.03);
    opacity: 0.6;
}
.punish-details h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}
.punish-card.cleared h4 {
    text-decoration: line-through;
}
.punish-meta {
    font-size: 11px;
    color: var(--color-primary);
    margin-top: 4px;
    font-weight: 600;
}

/* ==========================================================================
   MOOD & JOURNALS
   ========================================================================== */
.mood-glow {
    color: var(--color-secondary);
    text-shadow: 0 0 8px rgba(156, 39, 176, 0.5);
    font-weight: 700;
}
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    margin: 10px 0;
}
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 30, 86, 0.6);
}
.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--color-text-muted);
}

.mood-graph {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 150px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}
.mood-bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 25px;
}
.mood-bar {
    width: 12px;
    background: linear-gradient(0deg, var(--color-secondary), var(--color-primary));
    border-radius: 6px 6px 0 0;
    transition: height 0.5s ease;
    cursor: pointer;
    position: relative;
}
.mood-bar:hover {
    opacity: 0.8;
}
.mood-bar-wrapper span {
    font-size: 11px;
    color: var(--color-text-muted);
}

.journal-feed-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 250px;
    overflow-y: auto;
}
.journal-item {
    background: rgba(255, 255, 255, 0.01);
    border-left: 3px solid var(--color-secondary);
    border-radius: 0 8px 8px 0;
    padding: 12px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}
.journal-header-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}
.journal-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

/* ==========================================================================
   ASSET LOCATION SCANNER & LOGS
   ========================================================================== */
.scanner-frame {
    position: relative;
    height: 220px;
    background: #000;
    border-radius: 12px;
    border: 2px solid var(--border-glass);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}
.scanner-laser {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
    animation: scannerScan 2.5s infinite linear;
    z-index: 2;
}
.scanner-overlay {
    text-align: center;
    color: var(--color-text-muted);
    z-index: 1;
}
.scanner-overlay i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 10px;
}
.scanner-overlay p {
    font-family: var(--font-mono);
    font-size: 12px;
    margin: 0;
}

.scanner-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.scanner-btn-group .btn {
    flex-grow: 1;
}

.input-button-group {
    display: flex;
    gap: 10px;
}
.input-button-group input {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 10px;
    color: var(--color-text);
}

.asset-log-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 450px;
    overflow-y: auto;
}
.asset-log-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.asset-log-info {
    display: flex;
    flex-direction: column;
}
.asset-event-title {
    font-size: 14px;
    font-weight: 600;
}
.asset-log-time {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-top: 3px;
    font-family: var(--font-mono);
}
.asset-log-reason {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* ==========================================================================
   CHASTITY LOCK DEVICE LOOK
   ========================================================================== */
.lock-status-display {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lock-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: 4px solid var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 55px;
    box-shadow: var(--shadow-glow-purple);
    transition: all 0.4s ease;
}
.lock-circle.locked {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow-crimson);
}
.lock-circle.locked i {
    color: var(--color-primary);
    animation: pulseIcon 2s infinite ease-in-out;
}
.lock-circle i {
    color: var(--color-secondary);
}

.lock-detail-item {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.lock-detail-item .label {
    font-size: 12px;
    color: var(--color-text-muted);
}
.lock-detail-item strong {
    font-size: 16px;
    color: #fff;
}

.chastity-controls {
    display: flex;
    gap: 15px;
}

/* ==========================================================================
   BOOKING & REVIEWS LISTS
   ========================================================================== */
.bookings-grid-list, .reviews-feed-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.booking-card, .review-card-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 15px 18px;
}
.booking-card-header, .review-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 500;
}
.booking-client {
    font-size: 15px;
    font-weight: 600;
}
.booking-meta {
    font-size: 11px;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}
.booking-card p, .review-card-item p {
    margin: 8px 0 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: #d1cbdc;
}
.stars {
    color: var(--color-primary);
    font-size: 12px;
}

/* ==========================================================================
   MODAL WINDOW STYLING
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 8, 23, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s;
}
.modal-overlay.hidden {
    display: none;
    opacity: 0;
}
.modal-content {
    width: 90%;
    max-width: 450px;
    animation: scaleUp 0.3s ease;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
    margin-bottom: 15px;
}
.modal-header h3 {
    margin: 0;
    font-size: 18px;
}
.close-modal {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 24px;
    cursor: pointer;
}
.close-modal:hover {
    color: #fff;
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleUp {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
@keyframes slideDown {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes borderPulse {
    0% { border-color: rgba(255, 30, 86, 0.3); }
    50% { border-color: rgba(255, 30, 86, 0.85); box-shadow: 0 0 10px rgba(255, 30, 86, 0.25); }
    100% { border-color: rgba(255, 30, 86, 0.3); }
}
@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); text-shadow: 0 0 12px rgba(255, 30, 86, 0.5); }
    100% { transform: scale(1); }
}
@keyframes scannerScan {
    0% { top: 10px; }
    50% { top: 200px; }
    100% { top: 10px; }
}
