:root {
    --bg-color: #191919;
    --text-color: #E0E0E0;
    --primary-accent: #FCCA36;
    --secondary-accent: #E6B52F;
    --topbar-bg: linear-gradient(135deg, #242424 0%, #2D2D2D 100%);
    --topbar-skew-bg: linear-gradient(135deg, #0F0F0F 0%, #1A1A1A 100%);
    --sidebar-bg: linear-gradient(180deg, #1F1F1F 0%, #242424 100%);
    --card-bg: linear-gradient(135deg, #242424 0%, #2D2D2D 100%);
    --border-color: rgba(255, 255, 255, 0.1);
    --input-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.6);
    --hover-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    --active-bg: linear-gradient(135deg, rgba(252, 202, 54, 0.15) 0%, rgba(252, 202, 54, 0.08) 100%);
    --inactive-text: #C0C0C0;
    --subtitle-text: #A0A0A0;
    --disabled-bg: #3A3A3A;
    --disabled-text: #A0A0A0;
    --button-text-dark: #191919;
    --button-text-light: #FFFFFF;
    --success-color: #FCCA36;
    --danger-color: #E74C3C;
    --warning-box-bg: linear-gradient(135deg, rgba(252, 202, 54, 0.15) 0%, rgba(252, 202, 54, 0.08) 100%);
    --warning-box-border: #FCCA36;
    --warning-box-text: #FCCA36;
    --modal-bg: #2D2D2D;
    --modal-border: #3A3A3A;
    --modal-shadow: rgba(0, 0, 0, 0.8);
    --modal-button-secondary-color: #C0C0C0;
    --modal-button-secondary-border: #555;
    --modal-button-secondary-hover-bg: #3A3A3A;
    --modal-button-secondary-hover-color: #FCCA36;
    --primary-accent-rgb: 252, 202, 54;
    --success-color-rgb: 252, 202, 54;
    --danger-color-rgb: 231, 76, 60;
    --modal-backdrop-bg: rgba(0, 0, 0, 0.85);
    --user-access-btn-edit-bg: var(--primary-accent);
    --user-access-btn-edit-hover: var(--secondary-accent);
    --user-access-btn-delete-bg: var(--danger-color);
    --user-access-btn-delete-hover: #C0392B;
    --user-access-btn-toggle-disable-bg: #718096;
    --user-access-btn-toggle-disable-hover: #4A5568;
    --user-access-edit-save-bg: var(--success-color);
    --user-access-edit-save-hover: #27AE60;
    --user-access-edit-cancel-bg: none;
    --user-access-edit-cancel-border: #718096;
    --user-access-edit-cancel-color: var(--inactive-text);
    --user-access-edit-cancel-hover-bg: #718096;
    --user-access-edit-cancel-hover-color: var(--button-text-dark);
    --pagination-bg: var(--input-bg);
    --pagination-text: var(--primary-accent);
    --pagination-border: var(--border-color);
    --pagination-hover-bg: var(--hover-bg);
    --pagination-active-bg: var(--primary-accent);
    --pagination-active-text: var(--button-text-dark);
    --pagination-active-border: var(--secondary-accent);
}
body.light-theme {
    --bg-color: #F0F2F5;
    --text-color: #333333;
    --primary-accent: #1A73E8;
    --secondary-accent: #4285F4;
    --topbar-bg: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    --topbar-skew-bg: linear-gradient(135deg, #E0E2E5 0%, #EAECEF 100%);
    --sidebar-bg: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
    --card-bg: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    --border-color: rgba(0, 0, 0, 0.1);
    --input-bg: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.01) 100%);
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --hover-bg: linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.01) 100%);
    --active-bg: linear-gradient(135deg, rgba(26, 115, 232, 0.15) 0%, rgba(26, 115, 232, 0.08) 100%);
    --inactive-text: #555555;
    --subtitle-text: #666666;
    --disabled-bg: #CCCCCC;
    --disabled-text: #888888;
    --button-text-dark: #FFFFFF;
    --button-text-light: #191919;
    --success-color: #1A73E8;
    --danger-color: #D32F2F;
    --warning-box-bg: linear-gradient(135deg, rgba(26, 115, 232, 0.1) 0%, rgba(26, 115, 232, 0.05) 100%);
    --warning-box-border: #1A73E8;
    --warning-box-text: #333333;
    --modal-bg: #FFFFFF;
    --modal-border: #E0E0E0;
    --modal-shadow: rgba(0, 0, 0, 0.2);
    --modal-button-secondary-color: #666;
    --modal-button-secondary-border: #CCC;
    --modal-button-secondary-hover-bg: #F0F0F0;
    --modal-button-secondary-hover-color: #1A73E8;
    --primary-accent-rgb: 26, 115, 232;
    --success-color-rgb: 26, 115, 232;
    --danger-color-rgb: 211, 47, 47;
    --modal-backdrop-bg: rgba(255, 255, 255, 0.85);
    --user-access-btn-edit-bg: var(--primary-accent);
    --user-access-btn-edit-hover: var(--secondary-accent);
    --user-access-btn-delete-bg: var(--danger-color);
    --user-access-btn-delete-hover: #C82333;
    --user-access-btn-toggle-disable-bg: #6C757D;
    --user-access-btn-toggle-disable-hover: #5A6268;
    --user-access-edit-save-bg: var(--success-color);
    --user-access-edit-save-hover: #218838;
    --user-access-edit-cancel-bg: none;
    --user-access-edit-cancel-border: #6C757D;
    --user-access-edit-cancel-color: var(--inactive-text);
    --user-access-edit-cancel-hover-bg: #6C757D;
    --user-access-edit-cancel-hover-color: var(--button-text-dark);
    --pagination-bg: var(--input-bg);
    --pagination-text: var(--primary-accent);
    --pagination-border: var(--border-color);
    --pagination-hover-bg: var(--hover-bg);
    --pagination-active-bg: var(--primary-accent);
    --pagination-active-text: var(--button-text-dark);
    --pagination-active-border: var(--secondary-accent);
}
.hidden { display: none !important; }
html { height: 100%; margin: 0; padding: 0; }
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}
body.no-scroll { overflow: hidden; }
#appLayout.app-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    grid-template-rows: 70px 1fr;
    grid-template-areas:
        "sidebar topbar"
        "sidebar main-content";
    height: 100%;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    display: none !important;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    box-sizing: border-box;
    background-color: var(--bg-color);
}
#appLayout.app-layout.visible { display: grid !important; opacity: 1; }
#appLayout.app-layout.sidebar-expanded { grid-template-columns: 250px 1fr; }
#appLayout.app-layout.sidebar-collapsed-desktop { grid-template-columns: 70px 1fr; }
.top-bar {
    grid-area: topbar;
    background: var(--topbar-bg);
    color: var(--text-color);
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}
.top-bar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 100%;
    background: var(--topbar-skew-bg);
    transform: skewX(-10deg);
    transform-origin: bottom left;
    z-index: -1;
    box-shadow: 5px 0 15px var(--shadow-light);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.top-bar .logo-placeholder {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-accent);
    font-family: 'Montserrat', sans-serif;
    padding-left: 20px;
    user-select: none;
    transition: opacity 0.3s ease, width 0.3s ease, padding-left 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
}
.top-bar .logo-placeholder img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}
.profile-icon-wrapper { position: relative; }
.profile-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2D2D2D 0%, #3A3A3A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.profile-icon:hover {
    background: linear-gradient(135deg, #3A3A3A 0%, #4A4A4A 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
body.light-theme .profile-icon {
    background: linear-gradient(135deg, #F8F8F8 0%, #E8E8E8 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
body.light-theme .profile-icon:hover {
    background: linear-gradient(135deg, #E8E8E8 0%, #D8D8D8 100%);
}
.profile-menu {
    position: fixed;
    background: linear-gradient(135deg, #2D2D2D 0%, #353535 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    min-width: 200px;
    z-index: 1001;
    overflow: hidden;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}
body.light-theme .profile-menu {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.profile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.profile-menu-item {
    padding: 15px 20px;
    cursor: pointer;
    font-size: 15px;
    color: var(--text-color);
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
}
.profile-menu-item:last-child { border-bottom: none; }
.profile-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--primary-accent);
}
.profile-menu-item.active {
    background-color: #3A3A3A;
    color: var(--primary-accent);
    font-weight: 600;
}
.profile-menu-item.active img.nav-icon {
    filter: none;
}
body.light-theme .profile-menu-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-accent);
}
body.light-theme .profile-menu-item.active {
    background-color: #E0E0E0;
    color: var(--primary-accent);
    font-weight: 600;
}
body.light-theme .profile-menu-item.active img.nav-icon {
    filter: none;
}
.nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    vertical-align: middle;
    transition: filter 0.2s ease;
    filter: none;
}
body.light-theme .nav-icon {
    filter: none;
}
.menu-item i.fas,
.profile-menu-item i.fas {
    font-size: 20px;
    margin-right: 15px;
    color: var(--primary-accent);
}
.sidebar.collapsed .nav-icon { width: 24px; height: 24px; }
.sidebar.collapsed .menu-item i.fas { font-size: 24px; margin-right: 0; }
.profile-icon img.nav-icon { margin-right: 0; width: 24px; height: 24px; }
.create-btn .nav-icon {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    filter: invert(100%) brightness(0.15);
    transition: filter 0.3s ease;
}
.sidebar.collapsed .create-btn .nav-icon { margin-right: 0; width: 24px; height: 24px; }
.top-bar-right-group { display: flex; align-items: center; gap: 15px; margin-left: auto; }
.user-info-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 15px;
    color: var(--text-color);
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    transition: color 0.3s ease;
}
.user-info-display .user-name { font-weight: 500; color: var(--text-color); }
.user-info-display .customer-no { font-size: 13px; color: var(--subtitle-text); margin-top: 2px; }
.sidebar {
    grid-area: sidebar;
    background: var(--sidebar-bg);
    color: var(--text-color);
    padding: 20px 0;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3), inset -1px 0 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 250px;
    position: relative;
    z-index: 20;
    transform: translateX(0);
    scrollbar-width: thin;
    scrollbar-color: var(--primary-accent) var(--sidebar-bg);
}
.sidebar::-webkit-scrollbar { width: 8px; }
.sidebar::-webkit-scrollbar-track { background: var(--sidebar-bg); }
.sidebar::-webkit-scrollbar-thumb {
    background-color: var(--primary-accent);
    border-radius: 10px;
    border: 2px solid var(--sidebar-bg);
}
body.light-theme .sidebar::-webkit-scrollbar-track { background: var(--sidebar-bg); }
body.light-theme .sidebar::-webkit-scrollbar-thumb {
    background-color: var(--primary-accent);
    border: 2px solid var(--sidebar-bg);
}
.sidebar.collapsed { width: 70px; align-items: center; overflow: hidden; }
.sidebar.collapsed .sidebar-text { opacity: 0; width: 0; overflow: hidden; transition: opacity 0.3s ease, width 0.3s ease; pointer-events: none; display: none; }
.sidebar.collapsed .create-btn { padding: 12px; width: 45px; height: 45px; border-radius: 50%; margin: 0 auto 20px auto; }
.sidebar.collapsed .create-btn .nav-icon { margin-right: 0; }
.sidebar.collapsed .menu-item .nav-icon, .sidebar.collapsed .sub-menu-item .nav-icon { margin-right: 0; }
.sidebar.collapsed .menu-item, .sidebar.collapsed .sub-menu-item { padding: 12px 0; justify-content: center; }
.sidebar.collapsed .menu-item.has-submenu::after { display: none; }
.sidebar-text { transition: opacity 0.3s ease, width 0.3s ease; }
.logo { text-align: center; margin-bottom: 15px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.logo-link { display: inline-block; margin-bottom: 10px; }
.logo-text-container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.logo-text-container h2 { margin: 0; color: var(--primary-accent); font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 700; letter-spacing: 1px; }
.sidebar .logo img { max-width: 50px; height: auto; margin-bottom: 10px; display: block; }
.sidebar .logo h2, .sidebar .title-subtitle { display: block; }
.sidebar.collapsed .logo img { max-width: 50px; }
body.light-theme .sidebar .logo img { display: block; } /* Logo artık aydınlık modda da görünecek */

@media (min-width: 769px) {
    .sidebar:not(.collapsed) .logo-text-container h2[data-lang-key="sidebarMainTitle"] { display: none !important; }
}
body.light-theme .sidebar:not(.collapsed) .logo-text-container h2[data-lang-key="sidebarMainTitle"] { 
    display: none !important; /* Hem geniş hem daraltılmış ekranda yazı artık görünmeyecek */
}
.sidebar .title-subtitle { font-size: 14px; color: var(--subtitle-text); margin-top: 5px; }
.sidebar hr { border: none; border-top: 1px solid rgba(255, 255, 255, 0.1); margin: 20px 15px; width: calc(100% - 30px); transition: border-color 0.3s ease; }
body.light-theme .sidebar hr { border-top: 1px solid rgba(0, 0, 0, 0.1); }
#createReleaseBtnTopHr {
    margin: 15px 15px 5px 15px;
}
#createReleaseBtnBottomHr {
    margin: 15px 15px 5px 15px;
}
.create-btn {
    width: calc(100% - 40px);
    margin: 5px 20px;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--secondary-accent) 100%);
    color: var(--button-text-dark);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 6px 20px rgba(var(--primary-accent-rgb), 0.4), 0 2px 10px rgba(var(--primary-accent-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.create-btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: rgba(255, 255, 255, 0.3); transform: skewX(-30deg); transition: all 0.7s ease; z-index: 0;
}
.create-btn:hover::before { left: 120%; }
.create-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(var(--primary-accent-rgb), 0.6), 0 4px 15px rgba(var(--primary-accent-rgb), 0.3); }
.menu { list-style: none; padding: 0; margin: 15px 0; width: 100%; flex-grow: 1; }
.menu-item {
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    color: var(--inactive-text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    display: flex;
    align-items: center;
    position: relative;
}
.menu-item:hover { background: var(--hover-bg); color: var(--text-color); transform: translateX(5px); }
.menu-item.active { background: var(--active-bg); color: var(--primary-accent); font-weight: 700; border-left: 4px solid var(--primary-accent); padding-left: 16px; }
.menu-item.has-submenu { position: relative; }
.menu-item.has-submenu::after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    transition: transform 0.3s ease; font-size: 12px; color: var(--inactive-text);
}
.menu-item.has-submenu.open::after { transform: translateY(-50%) rotate(180deg); }
.sub-menu {
    list-style: none; padding: 0; margin: 0; display: none; overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); max-height: 0; opacity: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 0 0 12px 12px; margin-left: 10px; margin-right: 10px;
}
body.light-theme .sub-menu { background: linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.01) 100%); }
.sub-menu.open { display: block; max-height: 500px; opacity: 1; }
.sub-menu-item {
    padding: 10px 15px; cursor: pointer; font-size: 15px;
    color: var(--inactive-text); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; align-items: center; border-radius: 8px; margin: 5px 10px;
}
.sub-menu-item:hover { background: var(--hover-bg); color: var(--text-color); transform: translateX(3px); }
.sub-menu-item.active {
    color: var(--primary-accent); font-weight: 600;
    background: linear-gradient(135deg, rgba(252, 202, 54, 0.1) 0%, rgba(252, 202, 54, 0.05) 100%);
}
body.light-theme .sub-menu-item.active { background: linear-gradient(135deg, rgba(26, 115, 232, 0.1) 0%, rgba(26, 115, 232, 0.05) 100%); }
.sidebar .user-display { text-align: center; font-size: 0.9em; color: var(--subtitle-text); margin-top: 20px; padding: 0 15px; word-break: break-word; }
.sidebar .user-display #portalVersionDisplay { display: block; color: var(--subtitle-text); font-weight: 500; margin-top: 5px; font-style: normal; font-family: 'Inter', sans-serif; font-size: 0.9em; }
.sidebar .user-display strong.italic-portal-text { display: block; color: var(--text-color); font-weight: 600; margin-bottom: 5px; font-style: italic; font-family: 'Playfair Display', serif; font-size: 1.1em; }
.sidebar .user-display a#portalVersionLink { text-decoration: none; color: inherit; cursor: pointer; display: block; }
.sidebar .user-display a#portalVersionLink:hover #portalVersionDisplay { text-decoration: underline; color: var(--primary-accent); }
.menu-toggle-btn { font-size: 24px; color: var(--primary-accent); cursor: pointer; z-index: 30; display: none; }
#mainContent.main-content {
    grid-area: main-content;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: linear-gradient(135deg, #191919 0%, #1F1F1F 100%);
}
body.light-theme #mainContent.main-content { background: linear-gradient(135deg, #F0F2F5 0%, #FFFFFF 100%); }
#mainContent.main-content::-webkit-scrollbar { display: none; }
.success-message-bar, .firebase-error-bar, .access-denied-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 400px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95em;
    font-weight: 500;
    text-align: left;
    color: var(--button-text-dark);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transform: translateX(450px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.success-message-bar.show, .firebase-error-bar.show, .access-denied-bar.show { transform: translateX(0); opacity: 1; }
.access-denied-bar { background: linear-gradient(135deg, #FF6B6B 0%, #E74C3C 100%); color: var(--button-text-light); }
.firebase-error-bar { background: linear-gradient(135deg, #FF6B6B 0%, #E74C3C 100%); color: var(--button-text-light); }
.success-message-bar { background: linear-gradient(135deg, var(--success-color) 0%, var(--secondary-accent) 100%); color: var(--button-text-dark); }
body.light-theme .success-message-bar { color: var(--button-text-light); }
.success-message-bar span.icon, .firebase-error-bar span.icon, .access-denied-bar span.icon { font-size: 1.5em; line-height: 1; flex-shrink: 0; }
@keyframes bounceIn { 0% { transform: scale(0); opacity: 0; } 50% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); } }
@media (max-width: 480px) {
    .success-message-bar, .firebase-error-bar, .access-denied-bar { font-size: 0.9em; padding: 10px 15px; flex-direction: column; }
    .success-message-bar span.icon, .firebase-error-bar span.icon, .access-denied-bar span.icon { font-size: 1.2em; margin-bottom: 5px; }
}
#unsavedChangesWarningBar {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--warning-box-bg);
    border: 1px solid var(--warning-box-border);
    color: var(--warning-box-text);
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    z-index: 2500;
    font-weight: 600;
    font-size: 1.1em;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}
#unsavedChangesWarningBar.show {
    opacity: 1;
    visibility: visible;
}
.construction-container {
    background-color: var(--card-bg); padding: 40px; border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-medium); max-width: 600px; width: 90%;
    margin: 20px auto; border: 1px solid var(--border-color); color: var(--text-color);
    line-height: 1.6; box-sizing: border-box; animation: fadeIn 0.8s ease-out;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.construction-container h1 {
    color: var(--primary-accent); font-family: 'Montserrat', sans-serif;
    font-size: 2.8em; margin-bottom: 20px; font-weight: 700; letter-spacing: -1px; text-align: center;
}
.construction-container p { font-size: 1.1em; margin-bottom: 30px; color: var(--inactive-text); text-align: center; }
.construction-icon { font-size: 5rem; color: var(--primary-accent); margin-bottom: 25px; animation: pulse 2s infinite alternate; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.8; } 100% { transform: scale(1); opacity: 1; } }
.back-button {
    display: inline-block; padding: 15px 30px; background: none;
    color: var(--primary-accent); border: 2px solid var(--primary-accent);
    border-radius: 8px; font-size: 1.1rem; font-weight: 600; cursor: pointer;
    transition: all 0.3s ease; text-decoration: none; text-transform: uppercase;
    letter-spacing: 0.8px; box-shadow: none;
}
.back-button:hover { background-color: var(--primary-accent); color: var(--button-text-dark); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(var(--primary-accent-rgb), 0.3); }
body.light-theme .back-button:hover { color: var(--button-text-light); }
@media (max-width: 768px) {
    .construction-container { padding: 30px; }
    .construction-container h1 { font-size: 2em; }
    .construction-icon { font-size: 4rem; }
    .back-button { padding: 12px 25px; font-size: 1rem; }
}
.container {
    background: var(--card-bg); padding: 40px; border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-medium); max-width: 1200px; width: 100%;
    animation: fadeIn 0.8s ease-out; margin: 20px auto;
    border: 1px solid var(--border-color); color: var(--text-color);
    line-height: 1.6; box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.message-container {
    width: 100%; max-width: 900px; margin: 20px auto; padding: 20px;
    text-align: center; font-size: 1.2rem; background-color: var(--input-bg);
    color: var(--text-color); border-radius: 10px; box-shadow: 0 2px 10px var(--shadow-light);
    box-sizing: border-box; transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.access-denied { color: var(--danger-color); font-weight: bold; }
h1 {
    color: var(--primary-accent); text-align: center; margin-top: 0; margin-bottom: 40px;
    font-weight: 700; font-size: 2.2em; border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px; transition: color 0.3s ease, border-color 0.3s ease;
}
.controls-section {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
    margin-bottom: 30px; gap: 20px;
}
.search-filters { display: flex; flex-grow: 1; max-width: calc(100% - 200px); }
.filter-group { display: flex; flex-direction: column; width: 100%; }
.filter-group label { font-weight: 500; margin-bottom: 8px; color: var(--text-color); font-size: 1em; }
.filter-group input[type="text"] {
    padding: 12px 10px; border: 1px solid var(--border-color); border-radius: 8px;
    background-color: var(--input-bg); font-family: 'Inter', sans-serif; font-size: 1rem;
    color: var(--text-color); transition: all 0.3s ease; box-sizing: border-box;
}
.filter-group input[type="text"]:focus { outline: none; border-color: var(--primary-accent); box-shadow: 0 0 0 3px rgba(var(--primary-accent-rgb), 0.2); }
.add-user-btn, .review-draft-releases-btn {
    background-color: var(--primary-accent); color: var(--button-text-dark);
    border: none; padding: 10px 20px; font-size: 1em; font-weight: 600;
    border-radius: 8px; cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    height: 42px;
    box-shadow: 0 4px 10px rgba(var(--primary-accent-rgb), 0.4);
}
.add-user-btn:hover, .review-draft-releases-btn:hover { background-color: var(--secondary-accent); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(var(--primary-accent-rgb), 0.5); }
table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid var(--border-color); transition: border-color 0.3s ease; }
th {
    background-color: var(--input-bg); font-weight: 600; color: var(--primary-accent);
    text-transform: uppercase; font-size: 0.9em; position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.sort-icon::after { content: '\2195'; font-size: 0.8em; margin-left: 5px; color: var(--subtitle-text); }
tbody tr:hover { background-color: var(--hover-bg); }
td { color: var(--inactive-text); }
.action-buttons { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn {
    border: none; font-weight: 600; border-radius: 8px; cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    font-size: 0.9em; white-space: nowrap; color: var(--button-text-dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); display: flex;
    align-items: center;
    justify-content: center;
}
.btn.icon-btn { width: 40px; height: 40px; padding: 0; flex-shrink: 0; }
.action-icon { width: 20px; height: 20px; vertical-align: middle; transition: filter 0.2s ease; }
body.light-theme .action-icon { filter: none; }
.btn-approve { background-color: var(--success-color); color: var(--button-text-light); }
.btn-approve:hover { background-color: #27AE60; transform: translateY(-1px); }
.btn-reject { background-color: var(--danger-color); color: var(--button-text-light); }
.btn-reject:hover { background-color: #C0392B; transform: translateY(-1px); }
.btn-edit { background-color: var(--user-access-btn-edit-bg); }
.btn-edit:hover { background-color: var(--user-access-btn-edit-hover); transform: translateY(-1px); }
.btn-delete { background-color: var(--user-access-btn-delete-bg); color: var(--button-text-light); }
.btn-delete:hover { background-color: var(--user-access-btn-delete-hover); transform: translateY(-1px); }
.btn-toggle-disable { background-color: var(--user-access-btn-toggle-disable-bg); color: var(--button-text-light); }
.btn-toggle-disable:hover { background-color: var(--user-access-btn-toggle-disable-hover); transform: translateY(-1px); }
.btn-view-releases { background-color: #3498db; color: var(--button-text-light); }
.btn-view-releases:hover { background-color: #2980b9; transform: translateY(-1px); }
.btn:disabled { background-color: var(--disabled-bg); color: var(--disabled-text); cursor: not-allowed; opacity: 0.7; transform: none; box-shadow: none; }
.status-message { text-align: center; padding: 20px; font-style: italic; color: var(--subtitle-text); }
.error-message { color: var(--danger-color); font-weight: 600; }
.pagination-controls { display: flex; justify-content: flex-start; align-items: center; gap: 10px; margin-top: 20px; }
.pagination-button {
    background-color: var(--pagination-bg); color: var(--pagination-text);
    border: 1px solid var(--pagination-border); padding: 8px 15px;
    border-radius: 8px; cursor: pointer; font-weight: 600;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.pagination-button:hover:not(.active):not(:disabled) { background-color: var(--pagination-hover-bg); border-color: var(--primary-accent); transform: translateY(-1px); }
.pagination-button.active { background-color: var(--pagination-active-bg); color: var(--pagination-active-text); border-color: var(--pagination-active-border); cursor: default; }
.pagination-button:disabled { opacity: 0.6; cursor: not-allowed; background-color: var(--disabled-bg); color: var(--disabled-text); transform: none; }
@media (max-width: 768px) {
    #appLayout.app-layout { grid-template-columns: 1fr; grid-template-areas: "topbar" "main-content"; display: grid; }
    #appLayout.app-layout.sidebar-expanded, #appLayout.app-layout.sidebar-collapsed-desktop { grid-template-columns: 1fr; }
    .sidebar {
        position: fixed; top: 0; bottom: 0; left: 0; width: 250px;
        transform: translateX(-100%); transition: transform 0.3s ease-out;
        z-index: 1000; box-shadow: 2px 0 10px var(--shadow-light); padding: 20px 0; align-items: flex-start;
    }
    .sidebar.mobile-open { transform: translateX(0%); }
    .sidebar:not(.mobile-open) .sidebar-text { opacity: 0; width: 0; overflow: hidden; pointer-events: none; display: none; }
    .sidebar:not(.mobile-open) .create-btn { padding: 12px; width: 45px; height: 45px; border-radius: 50%; margin: 0 auto 20px auto; }
    .sidebar:not(.mobile-open) .create-btn .nav-icon { margin-right: 0; }
    .sidebar:not(.mobile-open) .menu-item .nav-icon, .sidebar.not(.mobile-open) .sub-menu-item .nav-icon { margin-right: 0; }
    .sidebar:not(.mobile-open) .menu-item, .sidebar:not(.mobile-open) .sub-menu-item { padding: 12px 0; justify-content: center; }
    .sidebar:not(.mobile-open) .menu-item.has-submenu::after { display: none; }
    .top-bar .logo-placeholder { display: none; }
    .menu-toggle-btn { display: block; order: 1; }
    .top-bar-right-group { gap: 10px; order: 2; margin-left: auto; }
    .top-bar::before { width: 50px; transform: skewX(-5deg); }
    #mainContent.main-content { padding: 10px; }
    .container { padding: 25px; margin: 10px auto; }
    h1 { font-size: 1.8em; }
    .controls-section { flex-direction: column; align-items: stretch; gap: 15px; }
    .search-filters { flex-direction: column; max-width: 100%; }
    .filter-group { width: 100%; }
    .add-user-btn, .review-draft-releases-btn { width: 100%; justify-content: center; }
    th, td { padding: 10px; }
    .action-buttons { flex-direction: row; justify-content: center; gap: 5px; }
    .btn { width: auto; flex-grow: 1; max-width: 100px; box-sizing: border-box; }
    .btn.icon-btn { width: 40px; height: 40px; max-width: 40px; }
    .pagination-controls { justify-content: center; }
    .user-info-display { max-width: 100px; font-size: 14px; }
    .user-info-display .customer-no { display: none; }
    .notification-menu {
        min-width: calc(100% - 40px); max-width: 400px; width: calc(100% - 40px);
        left: 50%; right: auto; transform: translateX(-50%) translateY(-10px);
    }
    .notification-menu.is-open { top: 80px; transform: translateX(-50%) translateY(0); }
    .sidebar .logo img { display: none !important; }
}
@media (max-width: 400px) {
    .user-info-display { max-width: 80px; font-size: 13px; }
    .top-bar-right-group { gap: 5px; }
}
.modal-backdrop {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--modal-backdrop-bg); display: flex; justify-content: center;
    align-items: center; z-index: 2000; opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
    backdrop-filter: blur(10px);
}
.modal-backdrop.show { opacity: 1; visibility: visible; transition-delay: 0s; }
.modal-content.type-selection-modal, .modal-content.confirmation-modal {
    background-color: var(--modal-bg); padding: 30px; border-radius: 12px;
    box-shadow: 0 10px 30px var(--modal-shadow); width: 90%; max-width: 550px;
    position: relative; transform: scale(0.8); opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box; text-align: center; border: 1px solid var(--modal-border);
}
.modal-backdrop.show .modal-content.type-selection-modal, .modal-backdrop.show .modal-content.confirmation-modal { transform: scale(1); opacity: 1; }
.modal-content.type-selection-modal .modal-title, .modal-content.confirmation-modal .modal-title {
    font-size: 2.2em; margin-bottom: 25px; padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-accent); color: var(--primary-accent);
}
.release-type-options { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
.option-item {
    position: relative; display: flex; align-items: center;
    border: 2px solid var(--border-color); border-radius: 12px;
    padding: 15px 20px; cursor: pointer; transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 10px var(--shadow-light); background-color: var(--card-bg);
}
.option-item:hover:not(.disabled-option) { border-color: var(--primary-accent); background-color: var(--hover-bg); transform: translateY(-3px); box-shadow: 0 6px 15px var(--shadow-medium); }
.option-item.selected { border-color: var(--primary-accent); background-color: var(--hover-bg); box-shadow: 0 0 0 3px rgba(var(--primary-accent-rgb), 0.3); }
.radio-input { display: none; }
.radio-label {
    display: flex; align-items: center; width: 100%; cursor: pointer;
    color: var(--text-color); font-size: 1.1em; font-weight: 600;
}
.radio-label .label-text { flex-grow: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 1px; display: flex; align-items: center; gap: 10px; }
.radio-label::before {
    content: ''; display: inline-block; width: 20px; height: 20px;
    border: 2px solid var(--primary-accent); border-radius: 50%; margin-right: 15px;
    background-color: transparent; transition: all 0.2s ease; flex-shrink: 0;
}
.radio-input:checked + .radio-label::before { background-color: var(--primary-accent); border-color: var(--primary-accent); box-shadow: 0 0 0 4px rgba(var(--primary-accent-rgb), 0.3); }
.radio-input:checked + .radio-label::after {
    content: ''; position: absolute; top: 50%; left: 25px;
    transform: translate(-50%, -50%) scale(0); width: 10px; height: 10px;
    border-radius: 50%; background-color: var(--button-text-dark); transition: transform 0.2s ease;
}
body.light-theme .radio-input:checked + .radio-label::after { background-color: var(--button-text-light); }
.radio-input:checked + .radio-label::after { transform: translate(-50%, -50%) scale(1); }
.option-icon { font-size: 1.5em; margin-left: auto; color: var(--primary-accent); transition: color 0.2s ease; }
.option-item.disabled-option { cursor: not-allowed; opacity: 0.6; background-color: var(--sidebar-bg); border-color: var(--border-color); }
.option-item.disabled-option:hover { transform: none; box-shadow: 0 4px 10px var(--shadow-light); border-color: var(--border-color); background-color: var(--sidebar-bg); }
.option-item.disabled-option .radio-label { color: var(--subtitle-text); }
.option-item.disabled-option .option-icon { color: var(--disabled-bg); }
.coming-soon-badge {
    background-color: #555555; color: #FFFFFF; font-size: 0.7em;
    font-weight: 700; padding: 4px 8px; border-radius: 5px; margin-left: 10px;
    animation: pulseBadge 1.5s infinite alternate;
}
body.light-theme .coming-soon-badge { background-color: #999999; color: #FFFFFF; }
@keyframes pulseBadge { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.05); opacity: 1; } }
.modal-info-message {
    background-color: var(--warning-box-bg); border-left: 5px solid var(--warning-box-border);
    color: var(--warning-box-text); padding: 10px 15px; border-radius: 8px; margin-top: 15px;
    text-align: center; font-size: 0.9em; font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); opacity: 0;
    transform: translateY(10px); transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.modal-info-message.show { opacity: 1; transform: translateY(0); }
.modal-actions { display: flex; justify-content: flex-end; gap: 15px; margin-top: 30px; }
.modal-primary-button, .modal-secondary-button {
    border: none; border-radius: 10px; padding: 12px 25px; font-size: 1em;
    font-weight: 600; cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3); text-transform: uppercase; letter-spacing: 0.5px;
}
.modal-primary-button:hover:not(:disabled) { opacity: 0.95; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(var(--primary-accent-rgb), 0.5); }
.modal-primary-button:disabled { background: var(--disabled-bg); color: var(--disabled-text); cursor: not-allowed; box-shadow: none; transform: none; opacity: 0.6; }
.modal-secondary-button { background: none; color: var(--modal-button-secondary-color); border: 2px solid var(--modal-button-secondary-border); box-shadow: none; }
.modal-secondary-button:hover { background-color: var(--modal-button-secondary-hover-bg); color: var(--modal-button-secondary-hover-color); border-color: var(--primary-accent); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3); }
.modal-content.rejection-reason-modal {
    max-width: 600px;
    text-align: left;
}
.modal-content.rejection-reason-modal textarea {
    width: calc(100% - 20px);
    min-height: 120px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--input-bg);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    resize: vertical;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.modal-content.rejection-reason-modal textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(var(--primary-accent-rgb), 0.2);
}
.modal-content.rejection-reason-modal .input-error {
    color: var(--danger-color);
    font-size: 0.9em;
    margin-top: 5px;
    display: none;
}
.modal-content.rejection-reason-modal .input-error.show {
    display: block;
}
@media (max-width: 768px) {
    .modal-content.type-selection-modal, .modal-content.confirmation-modal { padding: 20px; }
    .modal-content.type-selection-modal .modal-title, .modal-content.confirmation-modal .modal-title { font-size: 1.8em; margin-bottom: 20px; }
    .option-item { padding: 12px 15px; }
    .radio-label { font-size: 1em; }
    .radio-label::before { width: 18px; height: 18px; margin-right: 10px; }
    .radio-input:checked + .radio-label::after { left: 23px; width: 8px; height: 8px; }
    .option-icon { font-size: 1.3em; }
    .coming-soon-badge { font-size: 0.65em; padding: 3px 6px; }
    .modal-info-message { padding: 8px 12px; font-size: 0.85em; }
    .modal-actions { flex-direction: column-reverse; gap: 10px; margin-top: 25px; }
    .modal-primary-button, .modal-secondary-button { width: 100%; padding: 10px 20px; font-size: 0.95em; }
}
.catalog-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    min-width: 1000px;
}
.catalog-table th,
.catalog-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    word-break: break-word;
    overflow-wrap: break-word;
    color: var(--text-color);
    opacity: 1;
}
.catalog-table th {
    background-color: var(--hover-bg);
    color: var(--primary-accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 0.5px;
    text-align: center;
    white-space: nowrap;
    padding: 10px 5px;
    opacity: 1;
}
.catalog-table tbody tr:hover {
    background-color: var(--hover-bg);
    opacity: 1;
}
.catalog-table tbody tr:nth-child(even) {
    background-color: var(--sidebar-bg);
    opacity: 1;
}
.catalog-table tr.status-royal-review-row {
    background-color: var(--primary-accent);
    color: var(--button-text-dark);
    opacity: 1;
}
.catalog-table tr.status-royal-review-row:hover {
    background-color: var(--secondary-accent);
    color: var(--button-text-dark);
    opacity: 1;
}
.catalog-table tr.status-royal-review-row:nth-child(even) {
    background-color: var(--primary-accent);
    color: var(--button-text-dark);
    opacity: 1;
}
.catalog-table tr.status-royal-review-row,
.catalog-table tr.status-royal-review-row td,
.catalog-table tr.status-royal-review-row .clickable-album-name,
.catalog-table tr.status-royal-review-row .album-name-non-clickable,
.catalog-table tr.status-royal-review-row .codes-cell,
.catalog-table tr.status-royal-review-row strong,
.catalog-table tr.status-royal-review-row .view-stores-button,
.catalog-table tr.status-royal-review-row .status-icon {
    color: var(--button-text-dark) !important;
    opacity: 1;
}
body.light-theme .catalog-table tr.status-royal-review-row,
body.light-theme .catalog-table tr.status-royal-review-row td,
body.light-theme .catalog-table tr.status-royal-review-row .clickable-album-name,
body.light-theme .catalog-table tr.status-royal-review-row .album-name-non-clickable,
body.light-theme .catalog-table tr.status-royal-review-row .codes-cell,
body.light-theme .catalog-table tr.status-royal-review-row strong,
body.light-theme .catalog-table tr.status-royal-review-row .view-stores-button,
body.light-theme .catalog-table tr.status-royal-review-row .status-icon {
    color: var(--button-text-light) !important;
}
.catalog-table tr.status-royal-review-row .clickable-album-name:hover {
    color: #333 !important;
}
body.light-theme .catalog-table tr.status-royal-review-row .clickable-album-name:hover {
    color: #FFF !important;
}
.catalog-table tr.status-taken-down-row {
    color: var(--subtitle-text);
    font-style: italic;
}
.catalog-table tr.status-taken-down-row .clickable-album-name {
    color: var(--primary-accent);
    text-decoration: underline;
}
.catalog-table tr.status-taken-down-row .clickable-album-name:hover {
    color: var(--secondary-accent);
}
.status-cell { text-align: center; }
.catalog-table th:nth-child(3),
.catalog-table td:nth-child(3),
.catalog-table th:nth-child(7),
.catalog-table td:nth-child(7) {
    text-align: center;
}
.catalog-table th:nth-child(4),
.catalog-table td:nth-child(4),
.catalog-table th:nth-child(8),
.catalog-table td:nth-child(8),
.catalog-table th:nth-child(9),
.catalog-table td:nth-child(9),
.catalog-table th:nth-child(10),
.catalog-table td:nth-child(10) {
    text-align: left;
    padding-left: 15px;
}
.catalog-table .actions-cell {
    text-align: center;
}
.codes-cell div { margin-bottom: 5px; font-size: 0.9em; color: var(--inactive-text); }
.codes-cell div:last-child { margin-bottom: 0; }
.codes-cell strong { color: var(--text-color); margin-right: 5px; }
.rejection-reason-content-wrapper {
    display: block; font-size: 0.85em; color: var(--danger-color);
    margin-top: 5px; padding-top: 5px; border-top: 1px dashed var(--danger-color); line-height: 1.4;
}
.rejection-reason-content-wrapper strong { color: var(--danger-color); }
.rejection-reason-content-wrapper .truncated-text-content { display: inline; }
.rejection-reason-content-wrapper .full-text-content.hidden { display: none; }
.rejection-reason-content-wrapper .toggle-rejection-text {
    background: none; border: none; color: var(--primary-accent); cursor: pointer;
    font-size: 0.85em; font-weight: 600; margin-left: 5px; padding: 0;
    text-decoration: underline; white-space: nowrap;
}
.rejection-reason-content-wrapper .toggle-rejection-text:hover { color: var(--secondary-accent); }
.clickable-album-name { cursor: pointer; color: var(--primary-accent); text-decoration: underline; font-weight: 500; transition: color 0.2s ease; }
.clickable-album-name:hover { color: var(--secondary-accent); }
.album-name-non-clickable { color: var(--subtitle-text); cursor: default; text-decoration: none; font-weight: 500; }
.album-cover-thumbnail {
    width: 50px; height: 50px; object-fit: cover; border-radius: 4px;
    display: block; margin: 0 auto; box-shadow: 0 1px 3px var(--shadow-light);
    cursor: pointer; transition: transform 0.2s ease;
}
.album-cover-thumbnail:hover { transform: scale(1.05); }
.view-stores-button {
    background-color: var(--primary-accent); color: var(--button-text-dark);
    border: none; border-radius: 5px; padding: 8px 12px; font-size: 0.85em;
    cursor: pointer; transition: background-color 0.3s ease;
    width: fit-content; display: inline-flex;
    align-items: center;
}
body.light-theme .view-stores-button { color: var(--button-text-light); }
.view-stores-button:hover { background-color: var(--secondary-accent); }
.type-cell { position: relative; text-align: center; }
.type-icon { width: 24px; height: 24px; color: var(--primary-accent) !important; display: inline-block; vertical-align: middle; filter: none; }
body.light-theme .type-icon { filter: none; }
.status-icon { width: 24px; height: 24px; color: var(--primary-accent) !important; display: block; filter: none; }
body.light-theme .status-icon { filter: none; }
.status-icon.red { color: var(--danger-color) !important; }
.status-icon.black { color: var(--button-text-dark) !important; }
body.light-theme .status-icon.black { color: var(--text-color) !important; }
.premium-tooltip {
    position: absolute;
    background: var(--modal-bg);
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 6px;
    box-shadow: 0 4px 15px var(--shadow-medium);
    white-space: normal;
    max-width: 280px;
    text-align: center;
    font-size: 0.85em;
    font-weight: 500;
    z-index: 9999;
    pointer-events: none;
    text-shadow: none;
    border: 1px solid var(--modal-border);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 0);
    transition: opacity 0.3s ease, visibility 0s linear 0.3s, transform 0.3s ease;
}
.premium-tooltip::after {
    content: ''; position: absolute; left: 50%; top: -5px; bottom: auto;
    transform: translateX(-50%) rotate(135deg); width: 10px; height: 10px;
    background: var(--modal-bg); box-shadow: 2px 2px 5px var(--shadow-light);
    border-radius: 2px; z-index: -1; border-top: 1px solid var(--modal-border);
    border-left: 1px solid var(--modal-border); border-right: none; border-bottom: none;
}
.global-tooltip-hidden { opacity: 0 !important; visibility: hidden !important; transform: translate(-50%, 10px) !important; transition: opacity 0.3s ease, visibility 0s linear 0.3s, transform 0.3s ease; }
.global-tooltip-show { opacity: 1 !important; visibility: visible !important; transform: translate(-50%, 0) !important; transition: opacity 0.3s ease, visibility 0s linear, transform 0.3s ease; }
.stores-modal-overlay, .tracks-modal-overlay, .release-details-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--modal-backdrop-bg); display: flex; justify-content: center;
    align-items: center; z-index: 2000; opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
    backdrop-filter: blur(10px);
}
.stores-modal-overlay.show, .tracks-modal-overlay.show, .release-details-modal-overlay.show { opacity: 1; visibility: visible; transition-delay: 0s; }
.stores-modal-content, .tracks-modal-content, .release-details-modal-content {
    background-color: var(--modal-bg); padding: 30px; border-radius: 12px;
    box-shadow: 0 10px 30px var(--modal-shadow); width: 90%; max-width: 600px;
    transform: translateY(-20px); opacity: 0; transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 80vh; overflow-y: auto; box-sizing: border-box;
    border: 1px solid var(--modal-border); position: relative;
}
.stores-modal-overlay.show .stores-modal-content, .tracks-modal-overlay.show .tracks-modal-content, .release-details-modal-overlay.show .release-details-modal-content { transform: translateY(0); opacity: 1; }
.stores-modal-close-button, .tracks-modal-close-button, .release-details-modal-close-button {
    position: absolute; top: 15px; right: 15px; background: none; border: none;
    font-size: 24px; cursor: pointer; color: var(--text-color); transition: color 0.2s ease;
}
.stores-modal-close-button:hover, .tracks-modal-close-button:hover, .release-details-modal-close-button:hover { color: var(--primary-accent); }
.stores-modal-content h3, .tracks-modal-content h3, .release-details-modal-content h3 {
    color: var(--primary-accent); font-size: 1.8em; margin-top: 0; margin-bottom: 20px;
    text-align: center; border-bottom: 2px solid var(--border-color); padding-bottom: 10px;
}
.stores-list-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px 30px; padding: 10px; }
.store-item {
    display: flex; align-items: center; padding: 10px; border-bottom: 1px dashed var(--border-color);
    flex-wrap: wrap; background-color: var(--card-bg); border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-light); transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.store-item:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 6px 15px var(--shadow-medium); background-color: var(--hover-bg); }
.store-item:last-child { border-bottom: none; }
.store-logo-wrapper { width: 60px; height: 30px; display: flex; align-items: center; justify-content: flex-start; margin-right: 15px; flex-shrink: 0; transition: transform 0.2s ease; }
.store-item:hover .store-logo-wrapper { transform: scale(1.1); }
.store-logo-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; }
.store-name { font-weight: 600; color: var(--text-color); font-size: 1em; margin-bottom: 0; flex-grow: 1; text-align: left; }
.tracks-list-container {
    margin-top: 20px; display: flex; flex-direction: column; flex-wrap: wrap;
    max-height: 300px; gap: 10px 20px; padding: 10px; justify-content: flex-start; align-content: flex-start;
}
.track-item {
    padding: 10px 15px; border: 1px solid var(--border-color); border-radius: 8px;
    background-color: var(--card-bg); box-shadow: 0 2px 8px var(--shadow-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    width: calc(100% / 1 - 20px); box-sizing: border-box; max-width: 280px;
}
.track-item:hover { transform: translateY(-2px); box-shadow: 0 4px 12px var(--shadow-medium); background-color: var(--hover-bg); }
.track-name { font-weight: 600; color: var(--text-color); font-size: 1em; margin: 0 0 5px 0; line-height: 1.4; }
.track-isrc { font-size: 0.85em; color: var(--inactive-text); margin: 0; }
@media (min-width: 768px) { .track-item { width: calc(50% - 15px); } }
@media (min-width: 1024px) { .track-item { width: calc(33.33% - 13.33px); } }
.album-cover-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--modal-backdrop-bg); display: flex; justify-content: center;
    align-items: center; z-index: 2100; opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
    backdrop-filter: blur(10px);
}
.album-cover-modal-overlay.show { opacity: 1; visibility: visible; transition-delay: 0s; }
.album-cover-modal-content {
    background-color: var(--modal-bg); padding: 20px; border-radius: 12px;
    box-shadow: 0 10px 30px var(--modal-shadow); width: 90%; max-width: 700px;
    position: relative; transform: translateY(-20px); opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 90vh; display: flex; justify-content: center; align-items: center;
    box-sizing: border-box; border: 1px solid var(--modal-border);
}
.album-cover-modal-overlay.show .album-cover-modal-content { transform: translateY(0); opacity: 1; }
.album-cover-modal-close-button {
    position: absolute; top: 15px; right: 15px; background: none; border: none;
    font-size: 28px; cursor: pointer; color: var(--text-color); transition: color 0.2s ease; z-index: 2;
}
.album-cover-modal-close-button:hover { color: var(--danger-color); }
.album-cover-full-size { max-width: 100%; max-height: 100%; display: block; border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); object-fit: contain; }
.profile-menu-item.has-submenu { position: relative; }
.profile-menu-item.has-submenu#socialMediaServicesMenuItem::after {
    content: none;
    position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    font-size: 10px; color: var(--subtitle-text); transition: transform 0.2s ease;
}
.profile-menu-item.has-submenu#socialMediaServicesMenuItem.open::after { transform: translateY(-50%) rotate(180deg); }
.profile-sub-menu {
    list-style: none; padding: 0; margin: 0; display: none; overflow: hidden;
    max-height: 0; transition: max-height 0.3s ease-out, background-color 0.3s ease;
    background-color: rgba(0,0,0,0.1); width: 100%; box-sizing: border-box;
}
body.light-theme .profile-sub-menu { background-color: rgba(0,0,0,0.02); }
.profile-sub-menu.open { max-height: 500px; }
.profile-sub-menu-item {
    padding: 10px 20px 10px 45px; cursor: pointer; font-size: 15px;
    color: var(--inactive-text); transition: background-color 0.2s ease, color 0.2s ease;
    display: flex; align-items: center; position: relative;
}
.profile-sub-menu-item:hover { background-color: var(--border-color); color: var(--text-color); }
.profile-sub-menu-item img.nav-icon { filter: none; }
.profile-sub-menu-warning {
    position: absolute; top: -5px; left: 50%; transform: translateX(-50%) translateY(0%);
    background-color: var(--primary-accent); color: var(--button-text-dark);
    padding: 5px 10px; border-radius: 5px; font-size: 0.8em; white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 10; pointer-events: none;
}
.profile-sub-menu-item:hover .profile-sub-menu-warning, .profile-sub-menu-item.active .profile-sub-menu-warning {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(-100%);
}
.notification-icon-wrapper { position: relative; display: flex; align-items: center; justify-content: center; }
.notification-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2D2D2D 0%, #3A3A3A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.notification-icon:hover {
    background: linear-gradient(135deg, #3A3A3A 0%, #4A4A4A 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
body.light-theme .notification-icon {
    background: linear-gradient(135deg, #F8F8F8 0%, #E8E8E8 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
body.light-theme .notification-icon:hover {
    background: linear-gradient(135deg, #E8E8E8 0%, #D8D8D8 100%);
}
.notification-icon img.nav-icon { width: 24px; height: 24px; margin-right: 0; }
.notification-menu {
    position: fixed;
    background: var(--modal-bg);
    border: 1px solid var(--modal-border);
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--modal-shadow), 0 0 0 1px rgba(255, 255, 255, 0.05);
    min-width: 300px;
    max-width: 400px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 1001;
    overflow-x: hidden;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}
body.light-theme .notification-menu { box-shadow: 0 10px 40px var(--modal-shadow), 0 0 0 1px rgba(0, 0, 0, 0.05); }
.notification-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.notification-menu h4 {
    color: var(--primary-accent); font-size: 1.2em; padding: 15px 20px;
    margin: 0; border-bottom: 1px solid var(--modal-border); font-family: 'Montserrat', sans-serif;
}
.notification-list-container { padding: 0; }
.notification-item {
    padding: 15px 20px; border-bottom: 1px solid var(--modal-border);
    cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.notification-item:last-child { border-bottom: none; }
.notification-item:hover { background: var(--hover-bg); }
.notification-item.read { opacity: 0.7; background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%); color: var(--subtitle-text); }
.notification-item.read:hover { background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%); }
body.light-theme .notification-item.read { background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.01) 100%); }
body.light-theme .notification-item.read:hover { background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%); }
.notification-item-header { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 5px; }
.notification-item-title { font-weight: 600; color: var(--text-color); font-size: 1em; flex-grow: 1; }
.notification-item.read .notification-item-title { color: var(--inactive-text); }
.notification-item-delete-btn {
    background: none; border: none; color: var(--danger-color); cursor: pointer;
    font-size: 0.8em; font-weight: 600; padding: 5px 10px; border-radius: 5px;
    transition: all 0.2s ease; flex-shrink: 0;
}
.notification-item-delete-btn:hover { background-color: rgba(231, 76, 60, 0.2); color: #FF7070; }
body.light-theme .notification-item-delete-btn:hover { background-color: rgba(211, 47, 47, 0.1); color: #FF5555; }
.notification-item-message { font-size: 0.9em; color: var(--inactive-text); line-height: 1.4; text-align: left; }
.notification-item.read .notification-item-message { color: #888888; }
body.light-theme .notification-item.read .notification-item-message { color: #999999; }
.notification-item-date { font-size: 0.75em; color: #666666; margin-top: 10px; text-align: left; width: 100%; }
body.light-theme .notification-item-date { color: #999999; }
.no-notifications-message { padding: 20px; text-align: center; color: var(--subtitle-text); font-style: italic; font-size: 0.9em; }
#markAllAsReadBtn {
    width: calc(100% - 40px); margin: 10px 20px 20px 20px; padding: 10px 15px;
    font-size: 0.9em; border-radius: 8px; background-color: var(--disabled-bg);
    border-color: #555555; color: var(--text-color);
}
#markAllAsReadBtn:hover { background-color: #4A4A4A; border-color: var(--primary-accent); }
body.light-theme #markAllAsReadBtn { background-color: #E0E0E0; border-color: #CCCCCC; color: var(--inactive-text); }
body.light-theme #markAllAsReadBtn:hover { background-color: #D0D0D0; border-color: var(--primary-accent); }
#initialLoadingOverlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: #191919; display: flex; flex-direction: column;
    justify-content: center; align-items: center; z-index: 3000;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    opacity: 1; visibility: visible;
}
#initialLoadingOverlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-spinner {
    border: 5px solid rgba(255, 255, 255, 0.2); border-top: 5px solid #FCCA36;
    border-radius: 50%; width: 50px; height: 50px; animation: spin 1s linear infinite; margin-bottom: 20px;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.loading-message { color: #E0E0E0; font-size: 1.2em; font-weight: 500; text-align: center; }
body.light-theme #initialLoadingOverlay { background-color: #F0F2F5; }
body.light-theme .loading-spinner { border: 5px solid rgba(0, 0, 0, 0.1); border-top: 5px solid #1A73E8; }
body.light-theme .loading-message { color: #333333; }
.release-details-section {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px var(--shadow-light);
}
.release-details-section h4 {
    color: var(--primary-accent);
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border-color);
}
.release-detail-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}
.release-detail-item:last-child {
    border-bottom: none;
}
.release-detail-label {
    font-weight: 600;
    color: var(--text-color);
    min-width: 120px;
    margin-right: 15px;
    flex-shrink: 0;
}
.release-detail-value {
    color: var(--inactive-text);
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}
.release-detail-value a {
    color: var(--primary-accent);
    text-decoration: none;
    word-break: break-all;
}
.release-detail-value a:hover {
    text-decoration: underline;
}
.release-detail-value.editable input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--input-bg);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
}
.release-detail-value.editable input:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 2px rgba(var(--primary-accent-rgb), 0.2);
}
.song-detail-bar {
    margin-bottom: 15px;
    padding: 15px;
    background-color: var(--hover-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-light);
}
.song-detail-bar h5 {
    color: var(--secondary-accent);
    font-size: 1.1em;
    margin-top: 0;
    margin-bottom: 10px;
}
.song-detail-item {
    display: flex;
    align-items: center;
    padding: 5px 0;
    font-size: 0.95em;
}
.song-detail-label {
    font-weight: 500;
    color: var(--text-color);
    min-width: 90px;
    margin-right: 10px;
}
.song-detail-value {
    color: var(--inactive-text);
}
.audio-playback-btn {
    background-color: var(--primary-accent);
    color: var(--button-text-dark);
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, opacity 0.2s ease;
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
body.light-theme .audio-playback-btn {
     color: var(--button-text-light);
}
.audio-playback-btn:hover:not(:disabled) {
    background-color: var(--secondary-accent);
    transform: translateY(-1px);
}
.audio-playback-btn:disabled {
    background-color: var(--disabled-bg);
    color: var(--disabled-text);
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
    transform: none;
}
.audio-playback-btn i {
    margin-right: 0;
}
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}
.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.additional-services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px var(--shadow-medium);
    position: relative;
}
.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px var(--shadow-medium);
    background: var(--hover-bg);
    border-color: var(--primary-accent);
}
.service-card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    filter: none;
}
body.light-theme .service-card-icon {
    filter: none;
}
.social-media-original-icon {
    filter: none !important;
}
.service-card:hover .service-card-icon {
    transform: scale(1.1);
}
.service-card-title {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--primary-accent);
    margin-bottom: 10px;
}
.service-card-description {
    font-size: 0.95em;
    color: var(--inactive-text);
    line-height: 1.5;
}
.service-card.has-sub-cards {
    cursor: default;
}
.service-card.has-sub-cards .service-card-trigger {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0;
}
.service-card.has-sub-cards .service-card-trigger::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1em;
    color: var(--subtitle-text);
    transition: transform 0.3s ease;
    pointer-events: none;
}
.service-card.has-sub-cards.open .service-card-trigger::after {
    transform: rotate(180deg);
}
.sub-service-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out, visibility 0.4s ease-out, padding 0.4s ease-out;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 10px;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}
body.light-theme .sub-service-cards {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.01) 100%);
}
.sub-service-cards.open {
    visibility: visible;
    opacity: 1;
    max-height: 500px;
    padding: 15px;
}
.sub-service-card {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px var(--shadow-light);
}
.sub-service-card:hover {
    transform: translateX(5px);
    background: var(--hover-bg);
    border-color: var(--secondary-accent);
}
.sub-service-card-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    flex-shrink: 0;
    filter: none !important;
}
.sub-service-card-title {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}
@media (max-width: 992px) {
    .additional-services-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .service-card {
        padding: 20px;
    }
    .service-card-icon {
        width: 40px;
        height: 40px;
    }
    .service-card-title {
        font-size: 1.2em;
    }
    .service-card-description {
        font-size: 0.9em;
    }
}
@media (max-width: 576px) {
    .additional-services-cards {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    .service-card {
        margin-left: auto;
        margin-right: auto;
        width: 90%;
        max-width: 400px;
    }
}