/* ----------------- */
/*  CONTENT TYPE 0   */
/* ----------------- */

.content-style-0 {
    * {
        -webkit-tap-highlight-color: transparent;
    }

    /* Section block variations */
    .section-block {
        padding: 15px; /* Adjusted padding */
        margin: 20px 0; /* Increased margin for better separation */
        border-radius: 12px; /* Slightly reduced border radius */
        background-color: rgba(30, 30, 30, 0.9); /* Darker background */
        border: 1px solid rgba(255, 255, 255, 0.1); /* Added subtle border */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Adjusted shadow */
        min-height: fit-content;
        width: min(800px, 100%); /* Increased max width */
    }

    .section-block-1 {
        background-color: rgba(40, 40, 40, 0.9); /* Darker background */
        border-radius: 10px; /* Reduced border radius */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); /* Adjusted shadow */
        padding: 20px; /* Adjusted padding */
        margin-bottom: 25px; /* Increased margin */
        backdrop-filter: blur(8px); /* Reduced blur intensity */
        border: 1px solid rgba(255, 255, 255, 0.15); /* Subtle border */
        min-height: fit-content;
    }

    .section-block-2 {
        background-color: rgba(20, 20, 20, 0.85); /* Darker background */
        border-radius: 8px;
        border-left: 4px solid #007bff; /* Updated accent color */
        padding: 18px; /* Adjusted padding */
        margin-bottom: 25px; /* Increased margin */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); /* Adjusted shadow */
        min-height: fit-content;
    }

    /* Modern buttons with proper width */
    button {
        background: #154578; /* Updated gradient */
        color: white;
        border: none;
        border-radius: 8px; /* Reduced border radius */
        padding: 10px 20px; /* Adjusted padding */
        font-weight: 600;
        font-size: 1rem; /* Increased font size */
        cursor: pointer;
        margin: 10px; /* Increased margin */
        position: relative;
        overflow: hidden;
        width: auto;
        min-width: max-content;
        white-space: nowrap;
        transition: all 0.2s ease;
    }

    button:hover {
        background: #195391; /* Updated hover gradient */
    }

    button:active {
        transform: translateY(2px);
    }

    /* Sleek inputs */
    input {
        background-color: rgba(40, 40, 40, 0.9); /* Darker background */
        border: 2px solid rgba(255, 255, 255, 0.2); /* Subtle border */
        border-radius: 6px; /* Reduced border radius */
        padding: 10px 16px; /* Adjusted padding */
        color: white; /* Updated text color */
        font-size: 1rem;
        transition: all 0.3s ease;
        width: 100%;
        min-height: fit-content;
        margin-bottom: 20px; /* Increased margin */
    }

    input:focus {
        border-color: rgba(0, 123, 255, 0.5); /* Updated focus border color */
        outline: none;
    }

    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="password"] {
        background-color: rgba(50, 50, 50, 0.9); /* Darker background */
        border: 2px solid rgba(255, 255, 255, 0.2); /* Subtle border */
        border-radius: 6px; /* Rounded corners */
        padding: 10px 14px; /* Adjusted padding */
        color: white; /* Text color */
        font-size: 0.9rem; /* Reduced font size */
        transition: all 0.3s ease; /* Smooth transitions */
        width: 100%; /* Full width */
        margin-bottom: 12px; /* Reduced spacing */
    }

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="url"]:focus,
    input[type="password"]:focus {
        border-color: rgba(0, 123, 255, 0.5); /* Highlight border */
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3); /* Glow effect */
        outline: none; /* Remove default outline */
    }

    h1, h2 {

        margin: 0;
        margin-bottom: 10px;
    }

    /* Typography adjustments */
    h1 {
        font-weight: 600;
        font-size: 2rem; /* Reduced font size */
        background: linear-gradient(135deg, #007bff, #0056b3); /* Gradient remains */
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    h2 {
        font-weight: 500;
        font-size: 1.5rem; /* Reduced font size */
        color: rgba(255, 255, 255, 0.85); /* Text color remains */
    }
}

/* Light mode override for content-style-0 */
@media (prefers-color-scheme: light) {
    .content-style-0 {
        button {
            background: linear-gradient(135deg, #6e8efb, #a777e3);
            box-shadow: 0 4px 12px rgba(110, 142, 251, 0.2);
        }

        button.secondary {
            background: linear-gradient(135deg, #a3a3a3, #7a7a7a);
        }

        button.success {
            background: linear-gradient(135deg, #2ecc71, #27ae60);
        }

        input {
            background-color: rgba(255, 255, 255, 0.9);
            border: 2px solid rgba(0, 0, 0, 0.1);
            color: #333;
        }

        .section-block {
            background-color: rgba(255, 255, 255, 0.7);
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
        }

        .section-block-1 {
            background-color: rgba(255, 255, 255, 0.7);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .section-block-2 {
            background-color: rgba(240, 240, 240, 0.8);
            border-left: 4px solid #6e8efb;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        /* Range input light mode overrides */
        input[type="range"]::-webkit-slider-runnable-track {
            background: rgba(0, 0, 0, 0.1);
            box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        input[type="range"]::-moz-range-track {
            background: rgba(0, 0, 0, 0.1);
            box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        /* MS Edge compatibility */
        input[type="range"]::-ms-track {
            width: 100%;
            height: 6px;
            background: transparent;
            border-color: transparent;
            color: transparent;
        }

        input[type="range"]::-ms-fill-lower {
            background: rgba(0, 0, 0, 0.1);
            border-radius: 3px;
        }

        input[type="range"]::-ms-fill-upper {
            background: rgba(0, 0, 0, 0.1);
            border-radius: 3px;
        }

        input[type="range"]::-ms-thumb {
            height: 22px;
            width: 22px;
            border-radius: 50%;
            background: linear-gradient(135deg, #6e8efb, #a777e3);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            cursor: pointer;
        }
    }
}