#themeScreen {
    display: none;
}

#themeScreen.active {
    display: flex;
    flex-direction: column;
}

/* START: Language Screen Styles */
#languageScreen {
    display: none;
}
#languageScreen.active {
    display: flex;
    flex-direction: column;
}
.language-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}
.language-container .btn {
    max-width: 300px;
}
/* END: Language Screen Styles */

.theme-container {
    padding: 20px;
}

.theme-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-dark);
    text-align: center;
}

.theme-options, .design-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.theme-option, .design-option {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
    box-shadow: var(--shadow);
}

.theme-option.active, .design-option.active {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.theme-option:hover, .design-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.theme-preview, .design-preview {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.theme-name, .design-name {
    text-align: center;
    padding: 8px;
    font-size: 0.9rem;
    background-color: var(--white);
    color: var(--black);
}

.theme-default .theme-preview { background: linear-gradient(135deg, #128C7E 0%, #075E54 100%); }
.theme-dark .theme-preview { background: linear-gradient(135deg, #2c3e50 0%, #1a1a2e 100%); }
.theme-blue .theme-preview { background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%); }
.theme-green .theme-preview { background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%); }
.theme-purple .theme-preview { background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%); }
.theme-red .theme-preview { background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%); }

.design-default .design-preview { background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%); }
.design-glassmorphism .design-preview {
    background-image: url('https://images.unsplash.com/photo-1553095066-5014bc7b7f2d?q=80&w=2071&auto=format&fit=crop');
    background-size: cover;
    position: relative;
}
.design-glassmorphism .design-preview::before {
    content: '';
    position: absolute;
    inset: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.custom-colors {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.color-picker { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.color-option { width: 40px; height: 40px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: all 0.2s; }
.color-option.active { border-color: var(--black); transform: scale(1.1); }
.custom-theme-btn { width: 100%; padding: 12px; background-color: var(--primary-color); color: white; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: background-color 0.3s; }
.custom-theme-btn:hover { background-color: var(--primary-dark); }

/* --- START: About App Screen Styles --- */
#aboutAppScreen {
    display: none;
}
#aboutAppScreen.active {
    display: flex;
    flex-direction: column;
}
.about-container {
    padding: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}
.about-section {
    background-color: var(--white);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}
.about-section h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.about-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
.about-link:hover {
    text-decoration: underline;
}
.about-link i {
    margin-left: 8px;
}
[dir="ltr"] .about-link i {
    margin-left: 0;
    margin-right: 8px;
}
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    background-color: var(--light-gray);
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
    margin: 5px;
}
.contact-link:hover {
    background-color: #e0e0e0;
}
.contact-link i {
    font-size: 1.4rem;
    color: var(--primary-color);
}
.contact-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}
/* --- END: About App Screen Styles --- */