html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/*========================================================================================================*/
/*========================================= Utility Classes ==============================================*/
/*========================================================================================================*/

/* Containers */
.container-narrow {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.container-medium {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Typography - Yellow Titles */
.title-yellow {
    color: #FEE447;
    font-weight: bold;
    margin: 0;
}

.title-xlarge {
    font-size: 36px;
}

.title-large {
    font-size: 28px;
}

.title-medium {
    font-size: 24px;
}

.title-small {
    font-size: 20px;
}

/* Text Colors */
.text-yellow {
    color: #FEE447;
}

.text-yellow-dim {
    color: #FEE447;
    opacity: 0.8;
}

.text-yellow-dimmer {
    color: #FEE447;
    opacity: 0.7;
}

.text-yellow-dimmest {
    color: #FEE447;
    opacity: 0.6;
}

/* Icons */
.icon-yellow {
    color: #FEE447;
}

.icon-xlarge {
    font-size: 80px;
}

.icon-large {
    font-size: 64px;
}

.icon-medium {
    font-size: 48px;
}

.icon-small {
    font-size: 24px;
}

/* Cards */
.card-dark {
    background: linear-gradient(135deg, #2A2A2A 0%, #1F1F1F 100%);
    border: 2px solid #FEE447;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(254, 228, 71, 0.1);
}

.card-dark-hover {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-dark-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(254, 228, 71, 0.2);
}

/* Spacing */
.section-spacing {
    margin-bottom: 40px;
}

.section-spacing-large {
    margin-bottom: 50px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-20 {
    margin-bottom: 20px;
}

/*========================================================================================================*/
/*======================================= Standard Button Styling =======================================*/
/*========================================================================================================*/

.btn-primary-yellow {
    width: 100%;
    height: 55px;
    background-color: #FEE447;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    color: black;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 216, 77, 0.5);
    transition: all 0.2s;
    text-decoration: none;
    gap: 10px;
}

.btn-primary-yellow:hover:not(:disabled) {
    background-color: #FFE94D;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(255, 216, 77, 0.6);
}

.btn-primary-yellow:active:not(:disabled) {
    transform: translateY(0);
}

.btn-primary-yellow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #9E9E9E;
    box-shadow: none;
}

.btn-primary-yellow.active {
    background-color: #FFE94D;
    border: 2px solid #1F1F1F;
    box-shadow: 0 5px 15px rgba(255, 216, 77, 0.7);
    position: relative;
}

.btn-primary-yellow.active:hover {
    background-color: #FFED57;
}

.btn-primary-yellow.settings-btn {
    justify-content: flex-start;
    padding: 0 30px;
}

/*========================================================================================================*/
/*======================================= Password Generation Page =======================================*/
/*========================================================================================================*/

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.shake-animation {
    animation: shake 0.5s;
}

.password-generator-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.form-section {
    margin-bottom: 20px;
}

.form-label-bold {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.input-container {
    position: relative;
}

.form-input {
    width: 100%;
    height: 55px;
    padding: 0 15px;
    border: 1px solid #FEE447;
    border-radius: 10px;
    background-color: var(--input-bg);
    color: var(--input-text);
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #FEE447;
}

.form-input::placeholder {
    color: var(--input-placeholder);
}

.form-input.input-error {
    background-color: rgba(255, 0, 0, 0.05);
    border-color: #E74C3C;
}

.error-message {
    color: #E74C3C;
    font-size: 12px;
    margin-top: 5px;
    margin-left: 5px;
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 40px;
}

.password-toggle-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle-icon:hover {
    color: var(--text-primary);
}

.password-toggle-icon:focus {
    outline: none;
}

.custom-range {
    accent-color: #FEE447;
}

.length-input-container {
    border: 1px solid var(--input-border);
    border-radius: 8px;
    background-color: var(--input-bg);
    width: 70px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.length-input {
    width: 100%;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 16px;
    color: var(--input-text);
    font-weight: 500;
}

.length-input:focus {
    outline: none;
}

.special-chars-container {
    background-color: var(--input-bg);
    border: 1px solid #FEE447;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    height: 55px;
    display: flex;
    align-items: center;
}

.special-chars-checkbox {
    accent-color: #FEE447;
}

.special-chars-label {
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
}

.result-container {
    background-color: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: border-color 0.2s;
}

.result-container:hover {
    border-color: var(--border-color-hover);
}

.generated-password {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    color: var(--text-primary);
    word-break: break-all;
    text-align: center;
    font-weight: 500;
}

/* Range Slider */
input[type="range"] {
    height: 6px;
    background: var(--border-color);
    border-radius: 5px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: #FEE447;
    border: 3px solid #FFF;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(0.95);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: #FEE447;
    border: 3px solid #FFF;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

input[type="range"]::-moz-range-thumb:active {
    transform: scale(0.95);
}

input[type="range"]::-moz-range-track {
    height: 6px;
    background: var(--border-color);
    border-radius: 5px;
}

input[type="range"]::-moz-range-progress {
    height: 6px;
    background: #FEE447;
    border-radius: 5px;
}

input[type="range"]:focus {
    outline: none !important;
    box-shadow: none !important;
}

input[type="range"]:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

input[type="range"]:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(254, 228, 71, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

input[type="range"]:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(254, 228, 71, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

input[type="range"]:focus::-moz-range-thumb {
    box-shadow: 0 0 0 4px rgba(254, 228, 71, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

input[type="range"]:focus-visible::-moz-range-thumb {
    box-shadow: 0 0 0 4px rgba(254, 228, 71, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

/*========================================================================================================*/
/*=========================================== Header & Menu ===============================================*/
/*========================================================================================================*/

.app-header {
    background-color: #1F1F1F;
    padding: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: grid;
    grid-template-columns: 70px 1fr 60px;
    align-items: center;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.header-center {
    text-align: center;
}

.header-title {
    font-size: 28px;
    font-weight: bold;
    color: #FEE447;
    margin: 0;
    padding: 0;
}

.header-subtitle {
    font-size: 14px;
    color: #FEE447;
    margin: 4px 0 0 0;
    padding: 0;
}

.header-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-button {
    font-size: 28px;
    color: #FEE447;
    background-color: transparent;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.menu-button:hover {
    opacity: 0.8;
}

.menu-button:focus {
    outline: none;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.menu-overlay.show {
    background: rgba(0, 0, 0, 0.5);
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: #1F1F1F;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.menu-overlay.show .side-menu {
    right: 0;
}

.menu-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #1F1F1F;
    color: #FEE447;
    border-bottom: 1px solid #333;
}

.menu-header h2 {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
    color: #FEE447;
}

.close-button {
    background: transparent;
    border: none;
    color: #FEE447;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.close-button:hover {
    opacity: 0.8;
}

.menu-items {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: #FEE447;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.menu-link:hover {
    background: #2A2A2A;
    border-left-color: #FEE447;
}

.menu-link.active {
    background: #2A2A2A;
    border-left-color: #FEE447;
    font-weight: 500;
}

.menu-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

/*========================================================================================================*/
/*============================================ Download Page =============================================*/
/*========================================================================================================*/

.download-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.download-hero {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
}

.download-hero-icon {
    font-size: 80px;
    color: #FEE447;
    margin-bottom: 20px;
}

.download-hero h1 {
    font-size: 36px;
    font-weight: bold;
    color: #FEE447;
    margin: 0 0 10px 0;
}

.download-hero p {
    font-size: 18px;
    color: #FEE447;
    opacity: 0.9;
    margin: 0;
}

.download-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #FEE447;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.download-card {
    background: linear-gradient(135deg, #2A2A2A 0%, #1F1F1F 100%);
    border: 2px solid #FEE447;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(254, 228, 71, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(254, 228, 71, 0.2);
}

.platform-icon {
    font-size: 64px;
    color: #FEE447;
    margin-bottom: 15px;
}

.download-card h3 {
    font-size: 24px;
    font-weight: bold;
    color: #FEE447;
    margin: 0 0 8px 0;
}

.version-info {
    font-size: 14px;
    color: #FEE447;
    opacity: 0.7;
    margin: 0 0 20px 0;
}

.download-note {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: #FEE447;
    opacity: 0.6;
}

.features-section {
    background: linear-gradient(135deg, #2A2A2A 0%, #1F1F1F 100%);
    border: 2px solid #FEE447;
    border-radius: 12px;
    padding: 40px;
    margin-top: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    color: #FEE447;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: bold;
    color: #FEE447;
    margin: 0 0 10px 0;
}

.feature-card p {
    font-size: 14px;
    color: #FEE447;
    opacity: 0.8;
    margin: 0;
}

.web-generator-section {
    text-align: center;
    padding: 40px 20px;
    margin-top: 30px;
}

.web-generator-text {
    font-size: 16px;
    color: #FEE447;
    opacity: 0.9;
    margin: 0 0 20px 0;
}

.download-banner {
    background: linear-gradient(135deg, #2A2A2A 0%, #1F1F1F 100%);
    border: 2px solid #FEE447;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(254, 228, 71, 0.1);
}

.download-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.download-icon {
    font-size: 48px;
    color: #FEE447;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-text {
    flex: 1;
}

.download-text h3 {
    color: #FEE447;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 4px 0;
}

.download-text p {
    color: #FEE447;
    opacity: 0.8;
    font-size: 14px;
    margin: 0;
}

.download-link {
    color: var(--accent-yellow);
    font-weight: bold;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.download-link:hover {
    opacity: 1;
    color: var(--accent-yellow-hover);
}

/*========================================================================================================*/
/*=========================================== Settings Page ==============================================*/
/*========================================================================================================*/

.settings-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.settings-section {
    margin-bottom: 40px;
}

.settings-section-title {
    font-size: 24px;
    font-weight: bold;
    color: #FEE447;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.settings-buttons {
    display: grid;
    gap: 15px;
}

.flag-icon {
    font-size: 20px;
}

.theme-icon {
    font-size: 20px;
}

.button-text {
    flex: 1;
}

.check-icon {
    font-size: 20px;
    color: #1F1F1F;
    position: absolute;
    right: 20px;
}

/*========================================================================================================*/
/*=============================================== Modal ==================================================*/
/*========================================================================================================*/

.modal-content {
    background: var(--modal-bg);
    border-radius: 12px;
}

.modal-header {
    background: linear-gradient(135deg, #2A2A2A 0%, #1F1F1F 100%);
    color: #FEE447;
    border-bottom: 2px solid #FEE447;
    border-radius: 12px 12px 0 0;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 2rem;
    color: var(--modal-text);
}

.info-section {
    margin-bottom: 1.5rem;
}

.info-section h6 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.info-section p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--modal-text);
}

.info-section ul {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.info-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--modal-text);
}

.security-tips {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF5CC 100%);
    border-left: 4px solid #FEE447;
    padding: 1rem;
    border-radius: 8px;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/*========================================================================================================*/
/*============================================ Responsive ================================================*/
/*========================================================================================================*/

@media (max-width: 768px) {
    .container-narrow, .container-medium, .container-wide {
        padding: 15px;
    }

    .header-title {
        font-size: 24px;
    }

    .header-subtitle {
        font-size: 12px;
    }

    .header-logo {
        width: 60px;
        height: 60px;
    }

    .header-content {
        grid-template-columns: 60px 1fr 50px;
    }

    .side-menu {
        width: 280px;
        right: -300px;
    }

    .download-content {
        gap: 15px;
    }

    .download-icon {
        font-size: 40px;
    }

    .download-text h3 {
        font-size: 18px;
    }

    .download-text p {
        font-size: 13px;
    }

    .download-hero-icon {
        font-size: 60px;
    }

    .download-hero h1 {
        font-size: 28px;
    }

    .download-hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .features-section {
        padding: 30px 20px;
    }

    .settings-section-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 20px;
    }

    .header-subtitle {
        font-size: 11px;
    }

    .header-logo {
        width: 50px;
        height: 50px;
    }

    .header-content {
        grid-template-columns: 50px 1fr 50px;
        gap: 5px;
    }

    .menu-button {
        font-size: 24px;
        width: 45px;
        height: 45px;
    }

    .side-menu {
        width: 100%;
        max-width: 320px;
    }

    .download-banner {
        padding: 15px;
    }

    .download-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .download-icon {
        font-size: 36px;
    }

    .download-text h3 {
        font-size: 16px;
    }

    .download-page-container {
        padding: 15px;
    }

    .download-hero {
        padding: 30px 15px;
    }

    .download-hero-icon {
        font-size: 50px;
    }

    .download-hero h1 {
        font-size: 24px;
    }

    .platform-icon {
        font-size: 48px;
    }

    .download-card {
        padding: 20px;
    }

    .web-generator-button {
        width: 100%;
        padding: 0 20px;
    }

    .settings-section-title {
        font-size: 20px;
    }
}
/*========================================================================================================*/
/*============================================= Privacy ==================================================*/
/*========================================================================================================*/


.privacy-header {
    text-align: center;
    padding: 40px 20px 20px 20px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 40px;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h2 {
    margin-bottom: 15px;
    font-weight: 600;
}

.privacy-section p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.privacy-list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.privacy-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.privacy-list li::before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #FEE447;
    font-weight: bold;
    font-size: 20px;
}

.privacy-summary {
    background-color: var(--input-bg);
    border: 2px solid #FEE447;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .privacy-header {
        padding: 30px 15px 15px 15px;
    }

    .privacy-content {
        padding: 0 15px;
    }

    .privacy-section h2 {
        font-size: 20px;
    }
}

.code-example {
    background: var(--input-bg);
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    font-family: monospace;
}

.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.spinner-yellow {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(254, 228, 71, 0.2);
    border-top-color: #FEE447;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


