body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #1d1d1f;
    -webkit-font-smoothing: antialiased;
}

.main-header {
    background-color: rgba(248, 248, 248, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative; 
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

nav ul::-webkit-scrollbar {
    display: none;
}

nav a {
    text-decoration: none;
    color: #007aff;
    font-weight: 600;
    display: inline-block;
    padding: 8px 18px;
    background-color: #e5e5ea;
    border-radius: 20px;
    white-space: nowrap;
    font-size: 14px;
}

nav a img {
    width: 30px;
    height: 30px;
    display: block;
    object-fit: contain;
}

nav a.nav-icon-btn {
    padding: 8px;
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav a.nav-icon-btn:hover {
    background-color: #e5e5ea;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-slider {
    cursor: pointer;
}

.theme-slider input[type="checkbox"] {
    display: none;
}

.slider-track {
    position: relative;
    width: 80px;
    height: 30px;
    background-color: #e5e5ea;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    color: #86868b;
}

.slider-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 38px;
    height: 26px;
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 13px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 4px 15px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.theme-slider input:checked + .slider-track .slider-thumb {
    transform: translateX(38px);
}

.slider-icon {
    width: 16px;
    height: 16px;
    background-color: #86868b;
}

.slider-icon-sun {
    -webkit-mask-image: url(../images/sun-icon.svg);
    mask-image: url(../images/sun-icon.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.slider-icon-moon {
    -webkit-mask-image: url(../images/moon-icon.svg);
    mask-image: url(../images/moon-icon.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.theme-slider input:not(:checked) + .slider-track .slider-icon-sun,
.theme-slider input:checked + .slider-track .slider-icon-moon {
    background-color: #1d1d1f;
}
.transitions-enabled .slider-track {
    transition: background-color 0.3s ease;
}

.transitions-enabled .slider-thumb {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.transitions-enabled .slider-icon {
    transition: background-color 0.3s ease;
}
.transitions-enabled body,
.transitions-enabled .main-header,
.transitions-enabled .main-footer,
.transitions-enabled nav a,
.transitions-enabled .btn-get,
.transitions-enabled .btn-hero,
.transitions-enabled .database-table,
.transitions-enabled .database-table th,
.transitions-enabled .database-table tbody tr,
.transitions-enabled .search-container,
.transitions-enabled .alert-error {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.header-search-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.search-icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s;
}

.search-icon-btn img {
    width: 30px;
    height: 30px;
}

.search-icon-btn:hover {
    background-color: #e5e5ea;
}

.header-search-form {
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #f5f5f7;
    border: 1px solid #e5e5ea;
    padding: 2px 15px;
    padding: 2px 8px 2px 15px;
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    width: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.header-search-form.active {
    opacity: 1;
    pointer-events: auto;
    width: 250px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.header-search-form input {
    border: none;
    background: transparent;
    padding: 8px 5px;
    font-size: 14px;
    color: #1d1d1f;
    outline: none;
    flex-grow: 1;
    font-family: inherit;
}

.header-search-form input:-webkit-autofill,
.header-search-form input:-webkit-autofill:hover, 
.header-search-form input:-webkit-autofill:focus, 
.header-search-form input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #f5f5f7 inset !important;
    -webkit-text-fill-color: #1d1d1f !important;
    transition: background-color 5000s ease-in-out 0s;
}

.search-submit-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.search-submit-btn:hover {
    opacity: 0.7;
}

.search-submit-btn img {
    width: 18px;
    height: 18px;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 5px;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
}

.close-btn:hover {
    opacity: 0.7;
}

.close-btn img {
    width: 18px;
    height: 18px;
}

.app-store-main {
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 600px;
}

.hero-section {
    text-align: center;
    padding: 40px 10px;
}

.hero-section h1 { font-size: 28px; }
.hero-section p { color: #86868b; margin-bottom: 30px; line-height: 1.5; }

.btn-hero {
    display: inline-block;
    background-color: #007aff;
    color: white;
    padding: 12px 24px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.store-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5ea;
    padding-bottom: 10px;
}

.store-header h1 { margin: 0; font-size: 32px; }
.date-subtitle { font-size: 13px; font-weight: 600; color: #86868b; margin: 0 0 5px 0; }

.app-list {
    display: flex;
    flex-direction: column;
}

.app-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5ea;
    height: 100%;
}

.app-item:last-child { border-bottom: none; }

.app-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    margin-right: 15px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.app-icon-image {
    width: 100%;
    height: 100%;
    display: block;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 14px;
}

.app-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 60%
    );
    background-size: 200% 200%;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0;
}

.app-item:hover .app-icon::after {
    animation: shine-effect 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes shine-effect {
  0% {
    background-position: 100% 0;
    opacity: 1;
  }
  100% {
    background-position: 0 100%;
    opacity: 1;
  }
}

.app-icon.is-popping {
    animation: logo-pop 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes logo-pop {
    50% {
        transform: scale(1.2);
    }
}

.app-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.app-title { font-size: 16px; font-weight: 500; margin: 0 0 2px 0; }
.app-category { font-size: 13px; color: #86868b; margin: 0 0 4px 0; }
.app-rating { font-size: 11px; color: #ff9500; }

.app-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 75px;
}

.btn-get {
    background-color: #0a84ff;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: 20px;
    padding: 6px 18px;
    cursor: pointer;
    text-align: center;
}

.in-app-text { 
    font-size: 9px; 
    color: #86868b; 
    margin: 4px 0 0 0;
    width: 100%;
    text-align: center;
    min-height: 10px;
}

.search-container {
    text-align: center;
    padding: 30px 15px;
    max-width: 600px;
    margin: 20px auto;
    background-color: #ffffff;
    border: 1px solid #e5e5ea;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    box-sizing: border-box;
}

.search-input {
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 20px;
    border: 1px solid #e5e5ea;
    background-color: #f5f5f7;
    border-radius: 14px;
    font-size: 16px;
    color: #1d1d1f;
    box-sizing: border-box;
    font-family: inherit;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #007aff;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

.search-input::placeholder {
    color: #86868b;
}

.search-btn {
    background-color: #007aff;
    color: white;
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 20px;
    padding: 14px 32px;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.1s, background-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.search-btn:hover {
    background-color: #0056b3;
}

.search-btn:active {
    transform: scale(0.96);
}

.mcd-data-section {
    margin-top: 40px;
}

.table-responsive {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.database-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    font-size: 13px;
    text-align: left;
}

.database-table thead tr:first-child th {
    background-color: #f0f0f8;
    color: #0a84ff;
    font-size: 14px;
    text-align: center;
    border-bottom: 2px solid #e5e5ea;
    padding: 8px;
}

.database-table thead tr:nth-child(2) th {
    background-color: #f8f8f8;
    color: #86868b;
    font-weight: 600;
    padding: 12px 15px;
    border-bottom: 1px solid #e5e5ea;
    white-space: nowrap;
}

.database-table tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid #e5e5ea;
    color: #1d1d1f;
    vertical-align: middle;
    white-space: nowrap;
}

.database-table tbody tr:last-child td {
    border-bottom: none;
}

.database-table tbody tr:hover {
    background-color: #fbfbfd;
}

.database-table tbody td strong {
    font-weight: 600;
}

.table-app-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.05);
    display: block;
}

.table-rating {
    color: #ff9500;
    white-space: nowrap;
}

.main-footer {
    text-align: center;
    padding: 20px;
    color: #86868b;
    border-top: 1px solid #e5e5ea;
    font-size: 12px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 20, 20, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    clip-path: circle(0% at var(--x, 50%) var(--y, 50%));
    transition: clip-path 0.9s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.modal-overlay.is-visible {
    pointer-events: auto;
    clip-path: circle(150% at var(--x, 50%) var(--y, 50%));
}

.modal-content {
    background-color: #ffffff;
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 550px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    opacity: 0;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.1s, opacity 0.4s ease 0.1s, background-color 0.3s ease;
}

.modal-overlay.is-visible .modal-content {
    opacity: 1;
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e9e9ed;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 16px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    color: #86868b;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.modal-close:hover {
    background: #dcdce0;
    color: #1d1d1f;
}

.modal-app-header { display: flex; align-items: center; margin-bottom: 15px; }
.modal-app-icon { width: 70px; height: 70px; border-radius: 16px; margin-right: 15px; border: 1px solid rgba(0,0,0,0.05); }
.modal-app-title-group h2 { font-size: 24px; margin: 0 0 2px 0; }
.modal-app-title-group p { margin: 0; color: #86868b; font-size: 15px; }

#modal-body h3 { font-size: 1.1em; color: #1d1d1f; border-bottom: 1px solid #e5e5ea; padding-bottom: 10px; margin: 25px 0 15px 0; }
#modal-body ul { list-style: none; padding: 0; margin: 0; }
#modal-body li { padding: 10px 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f5f5f7; font-size: 14px; }
#modal-body li:last-child { border-bottom: none; }
#modal-body li strong { color: #86868b; font-weight: 500; }
#modal-body li span { color: #1d1d1f; text-align: right; }

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
}

.alert-error p {
    margin: 0;
}

.btn-retour {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-align: center;
}
.btn-retour:hover {
    background-color: #0056b3;
}

html.light-mode body {
    background-color: #161617;
    color: #f5f5f7;
}

.light-mode .main-header {
    background-color: rgba(28, 28, 30, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.light-mode nav a {
    background-color: #2c2c2e;
}

.light-mode .slider-track {
    background-color: #3a3a3c;
}

.light-mode .slider-thumb {
    background-color: rgba(28, 28, 30, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 4px 15px rgba(0,0,0,0.3);
}

.light-mode .theme-slider input:not(:checked) + .slider-track .slider-icon-sun,
.light-mode .theme-slider input:checked + .slider-track .slider-icon-moon {
    background-color: #f5f5f7;
}

.light-mode .search-icon-btn:hover {
    background-color: #3a3a3c;
}

.light-mode .header-search-form {
    background-color: #2c2c2e;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
}

.light-mode .header-search-form input {
    color: #f5f5f7;
}

.light-mode .header-search-form input:-webkit-autofill,
.light-mode .header-search-form input:-webkit-autofill:hover, 
.light-mode .header-search-form input:-webkit-autofill:focus, 
.light-mode .header-search-form input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #2c2c2e inset !important;
    -webkit-text-fill-color: #f5f5f7 !important;
}

.light-mode .store-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.light-mode .app-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.light-mode .btn-get {
    background-color: #0a84ff;
    color: #ffffff;
}

.light-mode .search-container {
    background-color: #2c2c2e;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.light-mode .search-input {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #3a3a3c;
    color: #f5f5f7;
}

.light-mode .search-input:focus {
    border-color: #0a84ff;
    background-color: #1c1c1e;
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.3);
}

.light-mode .search-btn {
    background-color: #0a84ff;
}

.light-mode .search-btn:hover {
    background-color: #409cff;
}

.light-mode .main-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.light-mode .modal-overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

.light-mode .modal-content {
    background-color: #2c2c2e;
    box-shadow: 0 10px 50px rgba(0,0,0,0.4);
}

.light-mode .modal-close {
    background: #3a3a3c;
    color: #86868b;
}

.light-mode .modal-close:hover {
    background: #4a4a4c;
    color: #f5f5f7;
}

.light-mode #modal-body h3 { color: #f5f5f7; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.light-mode #modal-body li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.light-mode #modal-body li span { color: #f5f5f7; }

.light-mode .alert-error {
    background-color: #58151c;
    color: #f8d7da;
    border: 1px solid #a52834;
}

.light-mode .btn-retour {
    background-color: #0a84ff;
}

.light-mode .btn-retour:hover {
    background-color: #409cff;
}

.light-mode .btn-hero {
    background-color: #007aff;
}

.light-mode .btn-hero:hover {
    background-color: #0056b3;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #007aff;
    z-index: 1004;
}

.hamburger-btn img {
    width: 24px;
    height: 24px;
    width: 22px;
    height: 22px;
    display: block;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    width: 250px;
    max-width: 80%;
    height: 100%;
    background-color: rgba(248, 248, 248, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px;
    padding-top: 70px;
    box-shadow: 5px 0 25px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1003;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e9e9ed;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    color: #86868b;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.mobile-menu-close-btn:hover {
    background: #dcdce0;
    color: #1d1d1f;
}

.mobile-menu nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
    list-style: none;
    overflow: visible;
    padding-bottom: 0;
}

.mobile-menu nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 10px;
    text-decoration: none;
    color: #007aff;
    font-weight: 600;
    font-size: 17px;
    border-radius: 8px;
    background-color: transparent;
}

.mobile-menu nav a:hover {
    background-color: #e9e9ed;
}

.mobile-menu nav a::before {
    content: '';
    width: 24px;
    height: 24px;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.mobile-menu-theme-switcher {
    padding: 25px 10px 15px;
    display: flex;
    justify-content: center;
}

.light-mode .database-table { background-color: #2c2c2e; }
.light-mode .database-table thead tr:first-child th { background-color: #1c1c1e; color: #0a84ff; border-bottom-color: rgba(255, 255, 255, 0.15); }
.light-mode .database-table thead tr:nth-child(2) th { background-color: #2c2c2e; border-bottom-color: rgba(255, 255, 255, 0.15); }
.light-mode .database-table tbody td { border-bottom-color: rgba(255, 255, 255, 0.1); color: #f5f5f7; }
.light-mode .database-table tbody tr:hover { background-color: #3a3a3c; }

@media (max-width: 575px) {
}

@media (min-width: 576px) {
    nav ul {
        justify-content: center;
        gap: 20px;
    }

    nav a {
        background-color: transparent;
        padding: 5px 15px;
        font-size: 16px;
    }

    nav a:hover {
        background-color: #e5e5ea;
    }

    .hero-section h1 { font-size: 42px; }

    .app-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .app-item {
        flex-direction: column;
        background-color: #ffffff;
        border: 1px solid #e5e5ea;
        border-radius: 18px;
        padding: 25px 15px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
        height: 100%;
        box-sizing: border-box;
        transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .app-icon {
        margin-right: 0;
        margin-bottom: 15px;
        width: 90px;
        height: 90px;
        border-radius: 20px;
    }

    .app-icon-image {
        border-radius: 20px;
    }

    .app-details {
        align-items: center;
        margin-bottom: 20px;
        text-align: center;
    }

    .app-action {
        width: 100%;
        margin-top: auto;
    }

    .btn-get {
        width: 80%;
        padding: 10px;
    }
    
    .search-container {
        padding: 50px 40px;
        margin: 60px auto;
    }
    
    .search-btn {
        width: auto;
    }
}

@media (max-width: 800px) {
    .header-content > nav {
        display: none;
    }

    .header-actions .theme-slider {
        display: none;
    }

    .hamburger-btn {
        display: block;
    }

    .header-search-form .close-btn {
        display: none;
    }

    .header-content {
        justify-content: space-between;
    }

    .mobile-menu nav a[href="index.php"]::before {
        -webkit-mask-image: url('../images/home.svg');
        mask-image: url('../images/home.svg');
    }

    .mobile-menu nav a[href="listing.php"]::before {
        -webkit-mask-image: url('../images/app.svg');
        mask-image: url('../images/app.svg');
    }

    .table-responsive {
        border: none;
        box-shadow: none;
        background: transparent;
        overflow-x: hidden;
    }
    
    .database-table thead {
        display: none;
    }
    
    .database-table, 
    .database-table tbody, 
    .database-table tr, 
    .database-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .database-table tr {
        margin-bottom: 20px;
        background-color: #ffffff;
        border: 1px solid #e5e5ea;
        border-radius: 14px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
        overflow: hidden;
    }
    
    .database-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 12px 15px;
        border-bottom: 1px solid #f0f0f8;
        white-space: normal;
    }
    
    .database-table td:last-child {
        border-bottom: none;
    }

    .database-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #86868b;
        text-align: left;
        margin-right: 15px;
        font-size: 12px;
        text-transform: uppercase;
    }

    .table-app-icon {
        margin: 0;
    }

    .modal-content {
        padding: 20px;
        width: 88%;
    }

    .modal-app-icon {
        width: 60px;
        height: 60px;
        border-radius: 14px;
        margin-right: 12px;
    }

    .modal-app-title-group h2 {
        font-size: 20px;
    }

    .modal-app-title-group p {
        font-size: 14px;
    }

    #modal-body h3 {
        font-size: 1em;
        margin: 20px 0 10px;
        padding-bottom: 8px;
    }
    #modal-body li {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .header-search-form.active {
        width: 200px;
        right: 0;
        left: auto;
    }

    .header-search-form input {
        font-size: 13px;
        padding: 6px 5px;
    }

    .close-btn {
        font-size: 18px;
        padding: 0;
        width: 28px;
        height: 28px;
        justify-content: center;
    }
}

.light-mode nav a:hover {
    background-color: #3a3a3c;
}

@media (min-width: 576px) {
    .light-mode .app-item {
        background-color: #2c2c2e;
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    }
}

.light-mode .mobile-menu {
    background-color: rgba(44, 44, 46, 0.8);
}
.light-mode .mobile-menu-close-btn {
    background: #3a3a3c;
    color: #86868b;
}
.light-mode .mobile-menu-close-btn:hover {
    background: #4a4a4c;
    color: #f5f5f7;
}

.light-mode .mobile-menu nav a:hover {
    background-color: #3a3a3c;
}

@media (max-width: 800px) {
    .light-mode .database-table tr {
        background-color: #2c2c2e;
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    }
    .light-mode .database-table td {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}