/* 
 * Prism Common Styles
 * Shared CSS for all Prism pages with dark/light mode support
 */

/* ===== GRADIENT TEXT EFFECTS ===== */
.prism-gradient-text {
    background: linear-gradient(135deg, #e14eca 0%, #1d8cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.prism-title {
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(225, 78, 202, 0.3);
}

.white-content .prism-title {
    text-shadow: 0 2px 10px rgba(225, 78, 202, 0.15);
}

/* ===== SECTION TITLES ===== */
.prism-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(225, 78, 202, 0.2);
    line-height: 1.2;
}

.white-content .prism-section-title {
    text-shadow: 0 2px 10px rgba(225, 78, 202, 0.15);
}

.prism-section-subtitle {
    font-size: 1.1rem;
    color: #adb5bd;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 300;
}

.white-content .prism-section-subtitle {
    color: #6c757d;
}

/* ===== CARD STYLES ===== */
.prism-card {
    background: linear-gradient(180deg, rgba(29, 140, 248, 0.08) 0%, rgba(29, 140, 248, 0.03) 100%);
    border: 1px solid rgba(29, 140, 248, 0.2);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.prism-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(225, 78, 202, 0.05) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prism-card:hover::before {
    opacity: 1;
}

.prism-card:hover {
    border-color: rgba(29, 140, 248, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(29, 140, 248, 0.15);
}

.white-content .prism-card {
    background: linear-gradient(180deg, rgba(29, 140, 248, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(29, 140, 248, 0.15);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.white-content .prism-card:hover {
    border-color: rgba(29, 140, 248, 0.3);
    box-shadow: 0 4px 20px rgba(29, 140, 248, 0.1);
}

/* ===== CARD SMALL ===== */
.prism-card-sm {
    background: linear-gradient(180deg, rgba(29, 140, 248, 0.08) 0%, rgba(29, 140, 248, 0.03) 100%);
    border: 1px solid rgba(29, 140, 248, 0.2);
    border-radius: 12px;
    /* padding: 10px; */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.prism-card-sm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(225, 78, 202, 0.05) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prism-card-sm:hover::before {
    opacity: 1;
}

.prism-card-sm:hover {
    border-color: rgba(29, 140, 248, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(29, 140, 248, 0.15);
}

.white-content .prism-card-sm {
    background: linear-gradient(180deg, rgba(29, 140, 248, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(29, 140, 248, 0.15);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.white-content .prism-card-sm:hover {
    border-color: rgba(29, 140, 248, 0.3);
    box-shadow: 0 4px 20px rgba(29, 140, 248, 0.1);
}

/* ===== CARD WITH STRONGER GLOW ===== */
.prism-card-glow {
    background: linear-gradient(180deg, rgba(29, 140, 248, 0.1) 0%, rgba(29, 140, 248, 0.05) 100%);
    border: 1px solid rgba(29, 140, 248, 0.3);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.prism-card-glow:hover {
    border-color: rgba(29, 140, 248, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(29, 140, 248, 0.25);
}

.white-content .prism-card-glow {
    background: linear-gradient(180deg, rgba(29, 140, 248, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(29, 140, 248, 0.2);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.white-content .prism-card-glow:hover {
    border-color: rgba(29, 140, 248, 0.4);
    box-shadow: 0 6px 30px rgba(29, 140, 248, 0.15);
}

/* ===== SUBTLE CARD (for working interfaces) ===== */
.prism-card-subtle {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.prism-card-subtle:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(29, 140, 248, 0.3);
}

.white-content .prism-card-subtle {
    background: rgba(226, 227, 228, 0.5);
    border: 1px solid rgba(29, 37, 59, 0.2);
}

.white-content .prism-card-subtle:hover {
    background: rgba(226, 227, 228, 0.8);
    border-color: rgba(29, 140, 248, 0.3);
}

/* ===== CARD HEADER ===== */
.prism-card-header {
    padding: 20px 25px;
    margin: -25px -25px 20px -25px;
    border-bottom: 1px solid rgba(29, 140, 248, 0.2);
    background: linear-gradient(180deg, rgba(29, 140, 248, 0.1) 0%, rgba(29, 140, 248, 0.05) 100%);
    border-radius: 12px 12px 0 0;
    position: relative;
}

.prism-card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(29, 140, 248, 0.3) 50%, transparent 100%);
}

.white-content .prism-card-header {
    background: linear-gradient(180deg, rgba(29, 140, 248, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-bottom: 1px solid rgba(29, 140, 248, 0.15);
}

.white-content .prism-card-header::after {
    background: linear-gradient(90deg, transparent 0%, rgba(29, 140, 248, 0.2) 50%, transparent 100%);
}

/* ===== CARD TITLE ===== */
.prism-card-title {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.white-content .prism-card-title {
    color: rgba(29, 37, 59, 0.9);
}

/* ===== CARD BODY ===== */
.prism-card-body {
    padding: 20px 25px;
    position: relative;
}

.white-content .prism-card-body {
    background: rgba(255, 255, 255, 0.5);
    color: rgba(29, 37, 59, 0.9);
}

/* ===== CARD FOOTER ===== */
.prism-card-footer {
    padding: 20px 25px;
    margin: 20px -25px -25px -25px;
    border-top: 1px solid rgba(29, 140, 248, 0.2);
    background: linear-gradient(0deg, rgba(29, 140, 248, 0.1) 0%, rgba(29, 140, 248, 0.05) 100%);
    border-radius: 0 0 12px 12px;
    position: relative;
}

.prism-card-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(29, 140, 248, 0.3) 50%, transparent 100%);
}

.white-content .prism-card-footer {
    background: linear-gradient(0deg, rgba(29, 140, 248, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-top: 1px solid rgba(29, 140, 248, 0.15);
}

.white-content .prism-card-footer::before {
    background: linear-gradient(90deg, transparent 0%, rgba(29, 140, 248, 0.2) 50%, transparent 100%);
}

/* ===== BUTTON STYLES ===== */
.prism-btn-primary {
    background: linear-gradient(135deg, #e14eca 0%, #ba54f5 100%);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(225, 78, 202, 0.3);
    cursor: pointer;
}

.prism-btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.prism-btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.prism-btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 35px rgba(225, 78, 202, 0.5);
    color: #ffffff;
}

.prism-btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* ===== BUTTON INFO ===== */
.prism-btn-info {
    background: linear-gradient(135deg, #1d8cf8 0%, #4da3ff 100%);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(29, 140, 248, 0.3);
    cursor: pointer;
}

.prism-btn-info::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.prism-btn-info:hover::before {
    width: 300px;
    height: 300px;
}

.prism-btn-info:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 35px rgba(29, 140, 248, 0.5);
    color: #ffffff;
}

.prism-btn-info:active {
    transform: translateY(0) scale(0.98);
}

/* ===== BUTTON DANGER ===== */
.prism-btn-danger {
    background: linear-gradient(135deg, #fd5d93 0%, #ff7aa8 100%);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(253, 93, 147, 0.3);
    cursor: pointer;
}

.prism-btn-danger::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.prism-btn-danger:hover::before {
    width: 300px;
    height: 300px;
}

.prism-btn-danger:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 35px rgba(253, 93, 147, 0.5);
    color: #ffffff;
}

.prism-btn-danger:active {
    transform: translateY(0) scale(0.98);
}

/* ===== BUTTON SUCCESS ===== */
.prism-btn-success {
    background: linear-gradient(135deg, #00f2c3 0%, #00bf9a 100%);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 242, 195, 0.3);
    cursor: pointer;
}

.prism-btn-success::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.prism-btn-success:hover::before {
    width: 300px;
    height: 300px;
}

.prism-btn-success:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 242, 195, 0.5);
    color: #ffffff;
}

.prism-btn-success:active {
    transform: translateY(0) scale(0.98);
}

/* ===== BUTTON SECONDARY ===== */
.prism-btn-secondary {
    background: transparent;
    border: 2px solid #e14eca;
    color: #e14eca;
    padding: 10px 28px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.prism-btn-secondary:hover {
    background: rgba(225, 78, 202, 0.15);
    transform: translateY(-2px) scale(1.02);
    color: #e14eca;
    box-shadow: 0 8px 25px rgba(225, 78, 202, 0.25);
    border-color: #ba54f5;
}

.prism-btn-secondary:active {
    transform: translateY(0) scale(0.98);
}

.white-content .prism-btn-secondary {
    border-color: #e14eca;
    color: #e14eca;
}

.white-content .prism-btn-secondary:hover {
    background: rgba(225, 78, 202, 0.1);
    border-color: #ba54f5;
    color: #e14eca;
}

/* ===== BUTTON SMALL ===== */
.prism-btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* ===== BUTTON GLOW ANIMATION ===== */
.prism-btn-glow {
    animation: prism-pulse-glow 3s ease-in-out infinite;
}

@keyframes prism-pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(225, 78, 202, 0.3);
    }
    50% {
        box-shadow: 0 10px 35px rgba(225, 78, 202, 0.5);
    }
}

/* ===== BADGES ===== */
.prism-badge-primary {
    background: linear-gradient(135deg, #e14eca 0%, #ba54f5 100%);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
    display: inline-block;
}

.prism-badge-info {
    background: rgba(29, 140, 248, 0.2);
    color: #1d8cf8;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
    display: inline-block;
}

.white-content .prism-badge-info {
    background: rgba(29, 140, 248, 0.15);
    color: #1d8cf8;
}

.prism-badge-success {
    background: rgba(0, 242, 195, 0.2);
    color: #00f2c3;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
    display: inline-block;
}

.white-content .prism-badge-success {
    background: rgba(0, 242, 195, 0.15);
    color: #00bf9a;
}

.prism-badge-warning {
    background: rgba(255, 141, 114, 0.2);
    color: #ff8d72;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
    display: inline-block;
}

.white-content .prism-badge-warning {
    background: rgba(255, 141, 114, 0.15);
    color: #ff8d72;
}

.prism-badge-cash {
    background-color: #059437;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75em;
    font-weight: 600;
    display: inline-block;
}

.white-content .prism-badge-cash {
    background-color: #059437;
    color: #ffffff;
}

/* ===== DIVIDERS ===== */
.prism-divider {
    text-align: center;
    position: relative;
    margin: 25px 0;
}

.prism-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.white-content .prism-divider::before {
    background: rgba(29, 37, 59, 0.2);
}

.prism-divider span {
    background: #1e1e2f;
    padding: 5px 15px;
    position: relative;
    z-index: 1;
    color: #ff8d72;
    font-weight: 600;
    font-size: 0.9em;
    border-radius: 20px;
    border: 1px solid #ff8d72;
}

.white-content .prism-divider span {
    background: #f5f6fa;
    color: #ff8d72;
    border-color: #ff8d72;
}

/* ===== AND BADGE ===== */
.prism-and-badge {
    background: #00f2c3;
    color: #1e1e2f;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7em;
    font-weight: 600;
    margin: 0 5px;
    display: inline-block;
}

.white-content .prism-and-badge {
    background: #00f2c3;
    color: #1e1e2f;
}

/* ===== INPUT STYLES ===== */
.prism-input {
    font-size: 1.1em;
    font-weight: 500;
    border: none;
    border-bottom: 2px solid rgba(29, 140, 248, 0.5);
    background: transparent;
    padding: 10px 0;
    width: 100%;
    color: #fff;
    transition: all 0.3s ease;
}

.prism-input:focus {
    outline: none;
    border-bottom-color: #1d8cf8;
    box-shadow: 0 3px 10px rgba(29, 140, 248, 0.2);
}

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

.white-content .prism-input {
    color: #1d253b;
    border-bottom-color: rgba(29, 140, 248, 0.4);
}

.white-content .prism-input::placeholder {
    color: rgba(29, 37, 59, 0.5);
}

.white-content .prism-input:focus {
    border-bottom-color: #1d8cf8;
}

/* ===== SEARCH INPUT WITH FULL BORDER ===== */
.prism-search-input {
    font-size: 1.05em;
    font-weight: 500;
    border: 2px solid rgba(29, 140, 248, 0.3);
    background: rgba(29, 140, 248, 0.05);
    padding: 12px 20px;
    border-radius: 25px;
    width: 100%;
    color: #fff;
    transition: all 0.3s ease;
}

.prism-search-input:focus {
    outline: none;
    border-color: #1d8cf8;
    background: rgba(29, 140, 248, 0.08);
    box-shadow: 0 5px 20px rgba(29, 140, 248, 0.25);
}

.prism-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.white-content .prism-search-input {
    color: #1d253b;
    border-color: rgba(29, 140, 248, 0.25);
    background: rgba(29, 140, 248, 0.03);
}

.white-content .prism-search-input::placeholder {
    color: rgba(29, 37, 59, 0.5);
}

.white-content .prism-search-input:focus {
    border-color: #1d8cf8;
    background: rgba(29, 140, 248, 0.06);
    box-shadow: 0 3px 15px rgba(29, 140, 248, 0.15);
}

/* ===== HIGHLIGHT BOX ===== */
.prism-highlight-box {
    background: rgba(0, 242, 195, 0.1);
    border: 1px solid rgba(0, 242, 195, 0.3);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.prism-highlight-box:hover {
    background: rgba(0, 242, 195, 0.15);
    border-color: rgba(0, 242, 195, 0.4);
}

.white-content .prism-highlight-box {
    background: rgba(0, 242, 195, 0.08);
    border: 1px solid rgba(0, 242, 195, 0.25);
}

.white-content .prism-highlight-box:hover {
    background: rgba(0, 242, 195, 0.12);
    border-color: rgba(0, 242, 195, 0.35);
}

/* ===== EMOJI ANIMATION ===== */
.prism-emoji-bounce {
    display: inline-block;
    animation: prism-bounce 2s ease-in-out infinite;
}

@keyframes prism-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== WELCOME TEXT ANIMATION ===== */
.prism-welcome-animate {
    animation: prism-slide-fade-in 1s ease-out;
}

@keyframes prism-slide-fade-in {
    0% {
        opacity: 0;
        transform: translateY(-30px);
        transform: translateX(-30px);
        transform: rotate(30deg);
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        transform: translateX(0);
        transform: rotate(0deg);
        transform: scale(1);
    }
}

/* ===== GLOW EFFECT FOR ICONS ===== */
.prism-icon-glow {
    filter: drop-shadow(0 0 10px rgba(29, 140, 248, 0.5));
    transition: filter 0.3s ease;
}

.prism-icon-glow:hover {
    filter: drop-shadow(0 0 15px rgba(29, 140, 248, 0.8));
}

.white-content .prism-icon-glow {
    filter: drop-shadow(0 0 8px rgba(29, 140, 248, 0.3));
}

.white-content .prism-icon-glow:hover {
    filter: drop-shadow(0 0 12px rgba(29, 140, 248, 0.5));
}

/* ===== CONDITION/GROUP STYLES ===== */
.prism-condition-row {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.prism-condition-row:hover {
    border-color: rgba(29, 140, 248, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.white-content .prism-condition-row {
    background: rgba(226, 227, 228, 0.4);
    border: 1px solid rgba(29, 37, 59, 0.15);
}

.white-content .prism-condition-row:hover {
    background: rgba(226, 227, 228, 0.7);
    border-color: rgba(29, 140, 248, 0.3);
}

.prism-condition-group {
    border: 2px dashed rgba(29, 140, 248, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(29, 140, 248, 0.05);
    transition: all 0.2s ease;
}

.prism-condition-group:hover {
    background: rgba(29, 140, 248, 0.08);
    border-color: rgba(29, 140, 248, 0.4);
}

.white-content .prism-condition-group {
    background: rgba(29, 140, 248, 0.04);
    border: 2px dashed rgba(29, 140, 248, 0.25);
}

.white-content .prism-condition-group:hover {
    background: rgba(29, 140, 248, 0.06);
    border-color: rgba(29, 140, 248, 0.35);
}

/* ===== ARROW INDICATOR ===== */
.prism-arrow {
    font-size: 1.5em;
    color: #00f2c3;
    margin: 0 15px;
    display: inline-block;
}

.white-content .prism-arrow {
    color: #00bf9a;
}

/* ===== UTILITIES ===== */
.prism-text-muted {
    color: #adb5bd !important;
}

.white-content .prism-text-muted {
    color: #6c757d !important;
}

.prism-text-primary {
    color: #1d8cf8 !important;
}

.prism-text-success {
    color: #00f2c3 !important;
}

.white-content .prism-text-success {
    color: #00bf9a !important;
}

.prism-text-warning {
    color: #ff8d72 !important;
}

.prism-text-danger {
    color: #fd5d93 !important;
}

.prism-text-secondary {
    color: #6c757d !important;
}

.white-content .prism-text-secondary {
    color: #525f7f !important;
}


/* ===== SCROLLBAR STYLING (optional enhancement) ===== */
.prism-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.prism-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.prism-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(29, 140, 248, 0.3);
    border-radius: 10px;
}

.prism-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(29, 140, 248, 0.5);
}

.white-content .prism-scrollbar::-webkit-scrollbar-track {
    background: rgba(29, 37, 59, 0.1);
}

.white-content .prism-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(29, 140, 248, 0.4);
}

.white-content .prism-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(29, 140, 248, 0.6);
}

.white-content .alert-info {
    background: rgba(29, 140, 248, 0.08) !important;
    border-color: rgba(29, 140, 248, 0.3) !important;
    color: #222a42 !important;
}

.white-content .alert-info .prism-text-muted {
    color: rgba(34, 42, 66, 0.7) !important;
}

/* Right Sidebar Styling */
/* ===== RIGHT SIDEBAR STYLES ===== */

/* ===== RIGHT SIDEBAR STYLES ===== */

/* Sidebar Container */
.right-sidebar {
    position: fixed;
    top: 0;
    right: -500px; /* Hidden by default */
    width: 500px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1d2e 0%, #151823 100%);
    border-left: 2px solid rgba(29, 140, 248, 0.4);
    box-shadow: -5px 0 40px rgba(0, 0, 0, 0.6);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1051;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.right-sidebar.active {
    right: 0;
}

.white-content .right-sidebar {
    background: linear-gradient(180deg, #f5f6fa 0%, #ffffff 100%);
    border-left: 2px solid rgba(29, 140, 248, 0.3);
    box-shadow: -5px 0 40px rgba(0, 0, 0, 0.15);
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid rgba(29, 140, 248, 0.3);
    background: linear-gradient(180deg, #222537 0%, #1a1d2e 100%);
    flex-shrink: 0;
    position: relative;
}

.sidebar-title {
    font-size: 1.4em;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #e14eca 0%, #1d8cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.white-content .sidebar-header {
    background: linear-gradient(180deg, #e8eaf0 0%, #f5f6fa 100%);
    border-bottom: 2px solid rgba(29, 140, 248, 0.2);
}

.sidebar-close {
    background: transparent;
    border: none;
    color: #1d8cf8;
    font-size: 1.3em;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.sidebar-close:hover {
    background: rgba(29, 140, 248, 0.15);
    transform: rotate(90deg);
}

.white-content .sidebar-close {
    color: #1d8cf8;
}

.white-content .sidebar-close:hover {
    background: rgba(29, 140, 248, 0.1);
}

/* Sidebar Content */
.sidebar-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 25px 30px;
    -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar for sidebar */
.sidebar-content::-webkit-scrollbar {
    width: 8px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: rgba(29, 140, 248, 0.3);
    border-radius: 10px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
    background: rgba(29, 140, 248, 0.5);
}

.white-content .sidebar-content::-webkit-scrollbar-track {
    background: rgba(29, 37, 59, 0.1);
}

.white-content .sidebar-content::-webkit-scrollbar-thumb {
    background: rgba(29, 140, 248, 0.4);
}

.white-content .sidebar-content::-webkit-scrollbar-thumb:hover {
    background: rgba(29, 140, 248, 0.6);
}

/* Sidebar Overlay (optional - currently commented out in HTML) */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1039;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== SIDEBAR CONTENT COMPONENTS ===== */

/* Section Headers within Sidebar */
.sidebar-section-header {
    font-size: 1.1em;
    font-weight: 600;
    color: #00f2c3;
    margin: 25px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 242, 195, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-section-header i {
    font-size: 1.2em;
}

.white-content .sidebar-section-header {
    color: #00bf9a;
    border-bottom-color: rgba(0, 191, 154, 0.3);
}

/* Transaction Item in Sidebar */
.sidebar-transaction-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar-transaction-item:hover {
    background: rgba(29, 140, 248, 0.15);
    border-color: rgba(29, 140, 248, 0.4);
    transform: translateX(-3px);
}

.white-content .sidebar-transaction-item {
    background: rgba(226, 227, 228, 0.7);
    border: 1px solid rgba(29, 37, 59, 0.2);
}

.white-content .sidebar-transaction-item:hover {
    background: rgba(29, 140, 248, 0.1);
    border-color: rgba(29, 140, 248, 0.3);
}

.sidebar-transaction-date {
    font-size: 0.85em;
    color: #adb5bd;
    margin-bottom: 5px;
}

.white-content .sidebar-transaction-date {
    color: #6c757d;
}

.sidebar-transaction-merchant {
    font-weight: 600;
    font-size: 1em;
    margin-bottom: 5px;
    color: #fff;
}

.white-content .sidebar-transaction-merchant {
    color: #1d253b;
}

.sidebar-transaction-amount {
    font-size: 1.1em;
    font-weight: 700;
    color: #00f2c3;
}

.sidebar-transaction-amount.negative {
    color: #fd5d93;
}

.white-content .sidebar-transaction-amount {
    color: #00bf9a;
}

.white-content .sidebar-transaction-amount.negative {
    color: #fd5d93;
}

/* Stats Summary in Sidebar */
.sidebar-stats-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.sidebar-stat-card {
    background: rgba(29, 140, 248, 0.1);
    border: 1px solid rgba(29, 140, 248, 0.3);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.sidebar-stat-card:hover {
    border-color: rgba(29, 140, 248, 0.5);
    transform: translateY(-2px);
    background: rgba(29, 140, 248, 0.15);
}

.white-content .sidebar-stat-card {
    background: rgba(29, 140, 248, 0.08);
    border: 1px solid rgba(29, 140, 248, 0.2);
}

.sidebar-stat-label {
    font-size: 0.85em;
    color: #adb5bd;
    margin-bottom: 5px;
}

.white-content .sidebar-stat-label {
    color: #6c757d;
}

.sidebar-stat-value {
    font-size: 1.5em;
    font-weight: 700;
    color: #1d8cf8;
}

.white-content .sidebar-stat-value {
    color: #1d8cf8;
}

/* Empty State */
.sidebar-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #adb5bd;
}

.sidebar-empty-state i {
    font-size: 3em;
    margin-bottom: 20px;
    opacity: 0.5;
}

.sidebar-empty-state p {
    font-size: 1.1em;
    margin: 0;
}

.white-content .sidebar-empty-state {
    color: #6c757d;
}

/* Loading State */
.sidebar-loading {
    text-align: center;
    padding: 60px 20px;
}

.sidebar-loading .spinner {
    border: 4px solid rgba(29, 140, 248, 0.2);
    border-top: 4px solid #1d8cf8;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet and smaller */
@media (max-width: 768px) {
    .right-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .sidebar-header {
        padding: 20px;
    }
    
    .sidebar-content {
        padding: 20px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .sidebar-stats-summary {
        grid-template-columns: 1fr;
    }
}

/* ===== MODERN TOGGLE SWITCH ===== */
.prism-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.prism-toggle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.prism-toggle-slider {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(29, 140, 248, 0.3);
    border-radius: 26px;
    transition: all 0.3s ease;
}

.prism-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 2px;
    background: #adb5bd;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.prism-toggle-input:checked + .prism-toggle-slider {
    background: linear-gradient(135deg, #1d8cf8 0%, #5e72e4 100%);
    border-color: #1d8cf8;
}

.prism-toggle-input:checked + .prism-toggle-slider::before {
    transform: translateX(24px);
    background: #fff;
    box-shadow: 0 2px 6px rgba(29, 140, 248, 0.4);
}

.prism-toggle-input:focus + .prism-toggle-slider {
    box-shadow: 0 0 0 3px rgba(29, 140, 248, 0.2);
}

.prism-toggle-label {
    font-size: 0.95em;
    font-weight: 500;
    color: #adb5bd;
    transition: color 0.3s ease;
    margin: 0;
}

.prism-toggle-input:checked ~ .prism-toggle-label {
    color: #1d8cf8;
}

.prism-toggle:hover .prism-toggle-slider {
    border-color: rgba(29, 140, 248, 0.5);
}

.prism-toggle:hover .prism-toggle-label {
    color: #fff;
}

.prism-toggle-input:checked ~ .prism-toggle-label {
    color: #1d8cf8;
}

/* White content mode */
.white-content .prism-toggle-slider {
    background: rgba(226, 227, 228, 0.5);
    border-color: rgba(29, 140, 248, 0.2);
}

.white-content .prism-toggle-slider::before {
    background: #525f7f;
}

.white-content .prism-toggle-label {
    color: #525f7f;
}

.white-content .prism-toggle:hover .prism-toggle-label {
    color: #1d253b;
}

.white-content .prism-toggle-input:checked ~ .prism-toggle-label {
    color: #1d8cf8;
}

/* ===== REPORT TABLE STYLES ===== */
/* Modern financial report table styling with category hierarchy */
.report-table-container {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(29, 140, 248, 0.15);
}

.report-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.report-table thead th {
    background: linear-gradient(180deg, rgba(29, 140, 248, 0.15) 0%, rgba(29, 140, 248, 0.08) 100%);
    padding: 16px 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(29, 140, 248, 0.3);
    position: sticky;
    top: 0;
    z-index: 10;
}

.report-table tbody td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
}

/* Section headers (INCOME, OPERATING EXPENSES, etc) */
.report-section-header {
    padding: 24px 12px !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #5fcdf8 !important;
    background: linear-gradient(90deg, rgba(29, 140, 248, 0.08) 0%, transparent 100%) !important;
    border-left: 4px solid #1d8cf8;
}

/* Individual category rows */
.report-category-row td {
    padding-left: 36px !important;
    font-size: 0.95rem;
    color: #e0e0e0;
}

.report-category-row:hover {
    background: rgba(29, 140, 248, 0.05);
}

.report-category-row:hover td {
    color: #ffffff;
}

/* Subtotal rows (Total Rental Income, Total Operating Expenses, etc) */
.report-subtotal-row {
    background: linear-gradient(90deg, rgba(127, 146, 193, 0.25) 0%, rgba(127, 146, 193, 0.15) 100%) !important;
    border-top: 1px solid rgba(127, 146, 193, 0.4) !important;
    border-bottom: 1px solid rgba(127, 146, 193, 0.4) !important;
}

.report-subtotal-row td {
    padding: 14px 12px !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: #d0d8f0;
}

/* Grand total rows (All Income, All Operating Expenses) */
.report-grandtotal-row {
    background: linear-gradient(90deg, rgba(219, 152, 85, 0.35) 0%, rgba(219, 152, 85, 0.25) 100%) !important;
    border-top: 2px solid rgba(219, 152, 85, 0.6) !important;
    border-bottom: 2px solid rgba(219, 152, 85, 0.6) !important;
}

.report-grandtotal-row td {
    padding: 16px 12px !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    color: #ffd89b;
}

/* Net Operating Income row */
.report-noi-row {
    background: linear-gradient(90deg, rgba(39, 151, 213, 0.4) 0%, rgba(39, 151, 213, 0.3) 100%) !important;
    border-top: 3px solid rgba(39, 151, 213, 0.8) !important;
    border-bottom: 3px solid rgba(39, 151, 213, 0.8) !important;
}

.report-noi-row td {
    padding: 18px 12px !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    color: #5fcdf8;
}

/* Net Cash Flow row (final result) */
.report-ncf-row {
    background: linear-gradient(90deg, rgba(87, 131, 65, 0.45) 0%, rgba(87, 131, 65, 0.35) 100%) !important;
    border-top: 4px solid rgba(68, 101, 52, 1) !important;
    border-bottom: 4px solid rgba(68, 101, 52, 1) !important;
}

.report-ncf-row td {
    padding: 20px 12px !important;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.05rem;
    letter-spacing: 1.2px;
    color: #a5d98a;
}

/* Spacer rows */
.report-spacer-row {
    height: 40px;
    background: transparent !important;
}

.report-spacer-row td {
    border: none !important;
    padding: 0 !important;
}

/* Property breakdown tooltip indicator */
.property-breakdown-indicator {
    color: #1d8cf8;
    font-size: 11px;
    margin-left: 4px;
    opacity: 0.8;
}

/* White content mode overrides */
.white-content .report-table-container {
    background: rgba(226, 227, 228, 0.3);
    border: 1px solid rgba(29, 140, 248, 0.2);
}

.white-content .report-table thead th {
    background: linear-gradient(180deg, rgba(29, 140, 248, 0.12) 0%, rgba(255, 255, 255, 0.95) 100%);
    color: #1d253b;
}

.white-content .report-table tbody td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #525f7f;
}

.white-content .report-section-header {
    color: #1d8cf8;
    background: linear-gradient(90deg, rgba(29, 140, 248, 0.1) 0%, transparent 100%) !important;
}

.white-content .report-grandtotal-row td {
    color: #d68745;
}

.white-content .report-noi-row td {
    color: #1d8cf8;
}

.white-content .report-ncf-row td {
    color: #5a8f41;
}

/* ===== REPORT CONTROLS ===== */
/* Modern control panel for report filters */
.report-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    margin-bottom: 20px;
}

.report-control-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.report-control-label {
    font-size: 0.9rem;
    color: #adb5bd;
    font-weight: 500;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.white-content .report-controls {
    background: rgba(226, 227, 228, 0.3);
}

.white-content .report-control-label {
    color: #6c757d;
}

/* ===== MODERN DROPDOWN STYLING ===== */
/* Bootstrap-select dropdown modernization */
.report-controls .bootstrap-select .dropdown-toggle {
    background: rgba(29, 140, 248, 0.08);
    border: 1px solid rgba(29, 140, 248, 0.3);
    border-radius: 8px;
    color: #ffffff;
    padding: 10px 16px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    min-width: 200px;
}

.report-controls .bootstrap-select .dropdown-toggle:hover,
.report-controls .bootstrap-select .dropdown-toggle:focus {
    background: rgba(29, 140, 248, 0.15);
    border-color: rgba(29, 140, 248, 0.5);
    box-shadow: 0 0 0 3px rgba(29, 140, 248, 0.1);
}

.report-controls .bootstrap-select .dropdown-toggle .filter-option {
    color: #ffffff;
}

.report-controls .bootstrap-select .dropdown-menu {
    background: #27293d !important;
    border: 1px solid rgba(29, 140, 248, 0.3);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    margin-top: 8px;
}

.report-controls .bootstrap-select .dropdown-menu li a {
    color: #e0e0e0 !important;
    padding: 10px 16px;
    transition: all 0.2s ease;
}

.report-controls .bootstrap-select .dropdown-menu li a:hover {
    background: rgba(29, 140, 248, 0.15) !important;
    color: #ffffff !important;
}

.report-controls .bootstrap-select .dropdown-menu li.selected a {
    background: rgba(29, 140, 248, 0.25) !important;
    color: #5fcdf8 !important;
}

.report-controls .bootstrap-select .dropdown-menu li.active a {
    background: rgba(29, 140, 248, 0.25) !important;
    color: #5fcdf8 !important;
}

.report-controls .bootstrap-select .bs-searchbox .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(29, 140, 248, 0.3);
    color: #ffffff;
    border-radius: 6px;
    padding: 8px 12px;
}

.report-controls .bootstrap-select .bs-searchbox .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(29, 140, 248, 0.5);
    outline: none;
}

.report-controls .bootstrap-select .bs-searchbox .form-control::placeholder {
    color: #adb5bd;
}

/* White content mode overrides for dropdowns */
.white-content .report-controls .bootstrap-select .dropdown-toggle {
    background: rgba(29, 140, 248, 0.06);
    border-color: rgba(29, 140, 248, 0.25);
    color: #1d253b;
}

.white-content .report-controls .bootstrap-select .dropdown-toggle:hover,
.white-content .report-controls .bootstrap-select .dropdown-toggle:focus {
    background: rgba(29, 140, 248, 0.12);
    border-color: rgba(29, 140, 248, 0.4);
}

.white-content .report-controls .bootstrap-select .dropdown-toggle .filter-option {
    color: #1d253b;
}

.white-content .report-controls .bootstrap-select .dropdown-menu {
    background: #ffffff !important;
    border-color: rgba(29, 140, 248, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.white-content .report-controls .bootstrap-select .dropdown-menu li a {
    color: #525f7f !important;
}

.white-content .report-controls .bootstrap-select .dropdown-menu li a:hover {
    background: rgba(29, 140, 248, 0.1) !important;
    color: #1d253b !important;
}

.white-content .report-controls .bootstrap-select .dropdown-menu li.selected a,
.white-content .report-controls .bootstrap-select .dropdown-menu li.active a {
    background: rgba(29, 140, 248, 0.2) !important;
    color: #1d8cf8 !important;
}

.white-content .report-controls .bootstrap-select .bs-searchbox .form-control {
    background: rgba(226, 227, 228, 0.5);
    border-color: rgba(29, 140, 248, 0.2);
    color: #1d253b;
}

.white-content .report-controls .bootstrap-select .bs-searchbox .form-control:focus {
    background: rgba(226, 227, 228, 0.8);
    border-color: rgba(29, 140, 248, 0.4);
}

.white-content .report-controls .bootstrap-select .bs-searchbox .form-control::placeholder {
    color: #6c757d;
}

/* ===== CHART FULL WIDTH STYLING ===== */
/* Ensure chart takes full width of container */
#cash-flow-chart {
    width: 100%;
    margin: 0 -25px;
    padding: 0;
}

#cash-flow-chart .highcharts-figure {
    width: 100%;
    margin: 0;
}

#cash-flow-chart #container {
    width: 100% !important;
    height: 500px;
}