/* Background Image Styles - Override style.css background for selfie page */
body {
    background: #0a0a0a !important;
    background-image: none !important;
}

body::before {
    display: none !important;
}

.background-gallery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.background-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.65;
    filter: blur(1.5px);
    transform: scale(1.1);
    transition: opacity 0.3s ease;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.75) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        rgba(10, 10, 10, 0.75) 100%
    );
    z-index: -1;
    backdrop-filter: blur(1px);
}

/* Responsive Background */
@media (max-width: 768px) {
    .background-gallery img {
        object-position: center;
    }
    
    .overlay-image-box {
        width: 100px !important;
        height: 100px !important;
        border-width: 1px;
    }
}

/* Theme Options Styles */
.theme-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.theme-option-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.theme-option-item:hover {
    background: rgba(10, 10, 10, 0.8);
    border-color: rgba(255, 107, 53, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.theme-option-item:has(input:checked) {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.8);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
}

.theme-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #ff6b35;
    flex-shrink: 0;
}

.theme-label {
    color: #e0e0e0;
    font-size: 0.95em;
    cursor: pointer;
    flex: 1;
    margin: 0;
    line-height: 1.4;
}

.theme-option-item:has(input:checked) .theme-label {
    color: #ffb380;
    font-weight: 500;
}

.char-counter {
    text-align: right;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.9em;
    padding: 8px 15px;
    border-radius: 6px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    align-items: stretch;
}

/* Accordion Styles */
.accordion-item {
    margin-bottom: 10px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.4);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 15px 20px;
    background: rgba(10, 10, 10, 0.6);
    border: none;
    color: #ff6b35;
    font-size: 1em;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255, 107, 53, 0.1);
    color: #ffb380;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5em;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: #ff6b35;
}

.accordion-header.active::after {
    content: '−';
    transform: rotate(0deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(10, 10, 10, 0.3);
}

.accordion-content .theme-option-item {
    margin: 8px 15px;
    border-radius: 6px;
}

.accordion-content .theme-option-item:last-child {
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .theme-options {
        grid-template-columns: 1fr;
    }
    
    .sections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .accordion-header {
        padding: 12px 15px;
        font-size: 0.95em;
    }
}
