:root {
    /* Colors */
    --white: #EEEEEE;
    --black: #202020;
    --background: #404040;
    --violet: #6f01b3;
    --aqua: #42bb89;
    --grey: #909090;
    --orange: #FFA500;
    --red: #FF0000;
    --green: #0EDC0E;
    --blue: #0000FF;
    --purple: #CB5BF1;

    /* Lights */
    --white-light-02: rgba(255, 255, 255, 0.2);
    --white-light-05: rgba(255, 255, 255, 0.5);
    --black-light-02: rgba(0, 0, 0, 0.2);
    --black-light-05: rgba(0, 0, 0, 0.5);
    --green-light-02: rgba(0, 255, 0, 0.2);
    --green-light-04: rgba(0, 255, 0, 0.4);
    --blue-light-02: rgba(0, 0, 255, 0.2);
    --blue-light-04: rgba(0, 0, 255, 0.4);
    --red-light-02: rgba(255, 0, 0, 0.2);
    --red-light-04: rgba(255, 0, 0, 0.4);
    --orange-light-02: rgba(255, 145, 0, 0.2);
    --orange-light-04: rgba(255, 145, 0, 0.4);
    --violet-light-02: rgba(111, 1, 179, 0.2);
    --violet-light-04: rgba(111, 1, 179, 0.4);

    /* Backgrounds */
    --gradient-primary: linear-gradient(60deg, var(--violet) 0%, #202020 45%, #202020 55%, var(--aqua) 100%);
    --gradient-white: linear-gradient(90deg, transparent, #ffffff50, #ffffffb5, transparent);
    --gradient-violet: linear-gradient(135deg, var(--violet) 0%, var(--purple) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);

    /* Icon Filters */
    --white-icon: invert(99%) sepia(57%) saturate(0%) hue-rotate(221deg) brightness(111%) contrast(100%);
    --orange-icon: invert(69%) sepia(67%) saturate(2934%) hue-rotate(0deg) brightness(103%) contrast(104%);
    --grey-icon: invert(68%) sepia(19%) saturate(0%) hue-rotate(165deg) brightness(82%) contrast(84%);
    --red-icon: invert(13%) sepia(99%) saturate(6635%) hue-rotate(360deg) brightness(97%) contrast(111%);
    --green-icon: invert(74%) sepia(69%) saturate(5528%) hue-rotate(82deg) brightness(110%) contrast(104%);
    --blue-icon: invert(8%) sepia(100%) saturate(6984%) hue-rotate(248deg) brightness(105%) contrast(144%);

    /* Fonts */
    --primary-font: "open sans", sans-serif;
    --code-font: "Atkinson", monospace;

    /* Text Sizes */
    --big-text: 16px;
    --normal-text: 14px;
    --small-text: 12px;

    /* Spacing */
    --padding-general: 10px;
    --margin-general: 10px;
    --gap-general: 10px;
    --radius-general: 7px;

    /* Modals */
    --padding-modal: 12px 16px;
    --radius-modal: 10px;

    /* Button Specific */
    --padding-btn: 4px 10px;
    --gap-btn: 5px;
    --radius-btn: 5px;

    /* Sizes */
    --icon-size: 18px;
    --header-height: 50px;

    /* Transitions */
    --transition: all 250ms ease-in-out;
    --transition-btn: all 100ms linear;

    /* Shadows */
    --shadow-black: 5px 5px 10px rgba(255, 255, 255, 0.3);
    --black-icon: invert(97%) sepia(97%) saturate(12%) hue-rotate(197deg) brightness(104%) contrast(104%);
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--primary-font);
    font-size: var(--normal-text);
    background: var(--black);
    color: var(--white);
    height: 100dvh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* HEADER ========================================================================= */

.header {
    width: 100%;
    height: var(--header-height);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 calc(var(--padding-general) * 1);
    box-shadow: 0 4px 30px var(--white-light-02);
    z-index: 100;
}

.header-title {
    font-family: var(--primary-font);
    font-size: calc(var(--big-text) * 2);
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 0 10px var(--white-light-05);
}

/* MAIN ========================================================================= */

main {
    display: flex;
    flex-direction: column;
    gap: var(--gap-general);
    height: calc(100% - var(--header-height));
    padding: var(--padding-general);
    position: relative;
}

/* SECTIONS ======================================================================= */
.section {
    width: 100%;
    height: 100%;
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--white-light-02);
    border-radius: calc(var(--radius-general) * 2);
    padding: calc(var(--padding-general) * 1);
    box-shadow: 0 8px 32px var(--black-light-02);
    overflow: auto;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-white);
}

/* BTN ============================================================================ */
.btn {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--gap-btn);
    padding: var(--padding-btn);
    border-radius: var(--radius-btn);
    transition: var(--transition-btn);
    font-family: var(--code-font);
    font-size: var(--normal-text);
    font-weight: 500;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, var(--white-light-02), transparent);
    opacity: 0;
    transition: var(--transition);
}

.btn:hover::before {
    opacity: 0.7;
}

.btn p,
.btn span {
    width: 100%;
    font-family: var(--code-font);
    font-size: var(--normal-text);
    font-weight: 500;
    text-align: center;
}

/* btn styles */
.btn-primary {
    font-family: var(--primary-font);
    background: var(--black-light-05);
    color: white;
    border: 1px solid var(--white);
    box-shadow:
        0 4px 15px var(--orange-light),
        inset 0 1px 0 var(--white-light-05);
}

.btn-primary:hover {
    box-shadow:
        0 8px 30px var(--violet-light-04),
        inset 0 0 0 var(--white-light-05);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-glass {
    background: var(--gradient-glass);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid var(--white-light-05);
    box-shadow:
        0 4px 15px var(--black-light-02),
        inset 0 1px 0 var(--white-light-02);
}

.btn-glass:hover {
    background: var(--gradient-glass);
    border-color: var(--orange);
    box-shadow:
        0 8px 30px var(--orange-light),
        inset 0 1px 0 var(--white-light-02);
}

.btn-glass:active {
    transform: scale(0.98);
}

.btn-neon {
    background: rgba(110, 96, 219, 0.05);
    color: var(--violet);
    border: 1px solid var(--violet);
    box-shadow:
        0 0 20px rgba(110, 96, 219, 0.3),
        inset 0 0 20px rgba(110, 96, 219, 0.1);
}

.btn-neon:hover {
    background: rgba(110, 96, 219, 0.1);
    box-shadow:
        0 0 30px rgba(110, 96, 219, 0.6),
        0 0 60px rgba(110, 96, 219, 0.3),
        inset 0 0 20px rgba(110, 96, 219, 0.2);
    transform: translateY(-3px);
}

/* Icon Buttons with 3D effect */
.btn-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(var(--icon-size) * 1.25);
}

/* TOOLTIP ========================================================= */

.tooltip-wrapper {
    position: relative;
    width: fit-content;
}

.tooltip-text {
    visibility: hidden;
    position: absolute;
    bottom: 125%;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%);
    padding: calc(var(--padding-general) * 0.5) var(--padding-general);
    background-color: var(--black-light-05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--orange);
    border-radius: var(--radius-btn);
    color: var(--white);
    font-family: var(--code-font);
    font-size: var(--small-text);
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 10px 30px var(--black-light-05);
    z-index: 1000;
}

.tooltip-text::after {
    /* Triangulito */
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--orange);
}

.tooltip-wrapper:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* INPUT ============================================================= */

/* Switch Toggle */
.switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--gap-general) * 0.75);
    color: var(--white);
    font-family: var(--primary-font);
    cursor: pointer;
    user-select: none;
}

.switch {
    position: relative;
    width: 60px;
    height: 32px;
    background: linear-gradient(135deg, rgba(110, 96, 219, 0.1), rgba(203, 91, 241, 0.1));
    border: 1px solid var(--violet);
    border-radius: calc(var(--radius-general) * 3);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.switch::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-radius: 50%;
    top: 3px;
    left: 4px;
    transition: var(--transition);
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.switch:hover::before {
    left: 7px;
}

input[type="checkbox"]:checked+.switch {
    background: var(--gradient-violet);
    border-color: var(--purple);
    box-shadow: 0 0 20px rgba(110, 96, 219, 0.4);
}

input[type="checkbox"]:checked+.switch::before {
    left: 30px;
    background: linear-gradient(135deg, #ffffff, #f0f9ff);
}

input[type="checkbox"] {
    display: none;
}

/* Checkbox */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--gap-general) * 0.75);
    color: var(--white);
    font-family: var(--primary-font);
    cursor: pointer;
    user-select: none;
}

.checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, rgba(110, 96, 219, 0.1), rgba(203, 91, 241, 0.1));
    border: 2px solid var(--violet);
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: var(--transition-btn);
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.checkbox:checked {
    background: var(--gradient-violet);
    border-color: var(--purple);
    box-shadow: 0 0 15px rgba(110, 96, 219, 0.4);
}

.checkbox:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox:hover {
    border-color: var(--purple);
}

/* Animaciones ===================================================================== */

/* Glow bluetooth animation */
.glow-bluetooth {
    animation: bluetoothGlow 3s ease-in-out infinite;
}

@keyframes bluetoothGlow {
    0%, 100% {
        box-shadow: 0 0 5px var(--blue-light-04);
    }
    50% {
        box-shadow: 0 0 30px 5px var(--blue-light-04);
    }
}






















/* Section Titles */

.section-title {
    font-size: calc(var(--big-text) * 2);
    font-weight: 600;
    margin-bottom: calc(var(--margin-general) * 2);
    color: var(--white);
    text-shadow: 0 0 20px rgba(110, 96, 219, 0.3);
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--gap-general) * 3);
    margin-bottom: calc(var(--margin-general) * 2);
}

/* Glass Card with Enhanced 3D */
.card {
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(110, 96, 219, 0.15);
    border-radius: calc(var(--radius-general) * 3);
    padding: calc(var(--padding-general) * 2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(110, 96, 219, 0.1);
    transform: translateZ(0);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--violet), var(--purple), transparent);
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(110, 96, 219, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: var(--violet);
    transform: translateY(-8px) translateZ(20px);
    box-shadow:
        0 20px 60px rgba(110, 96, 219, 0.25),
        0 0 0 1px var(--violet),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.card:hover::after {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-violet);
    border-radius: calc(var(--radius-general) * 2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: calc(var(--margin-general) * 1.5);
    font-size: calc(var(--big-text) * 1.5);
    box-shadow:
        0 10px 30px rgba(110, 96, 219, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    transform: translateZ(10px);
}

.card-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--violet), var(--purple));
    border-radius: calc(var(--radius-general) * 2.5);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.card:hover .card-icon::after {
    opacity: 0.5;
    filter: blur(8px);
}

.card-title {
    font-size: calc(var(--big-text) * 1.5);
    font-weight: 600;
    margin-bottom: calc(var(--margin-general) * 0.5);
}

.card-description {
    color: var(--grey);
    line-height: 1.6;
}

/* Input Fields with 3D depth */
.input-group {
    margin-bottom: calc(var(--margin-general) * 1.5);
}

.input-label {
    display: block;
    margin-bottom: calc(var(--margin-general) * 0.5);
    color: var(--grey);
    font-size: var(--small-text);
    font-weight: 500;
}

.input {
    width: 100%;
    padding: var(--padding-general) calc(var(--padding-general) * 1.5);
    background: var(--gradient-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-general);
    color: var(--black);
    font-size: var(--normal-text);
    font-family: var(--primary-font);
    transition: var(--transition);
    outline: none;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.05);
}

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

.input:focus {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: var(--violet);
    box-shadow:
        0 0 0 3px rgba(110, 96, 219, 0.2),
        0 0 20px rgba(110, 96, 219, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.input:hover {
    border-color: var(--violet);
}

/* Toast Notification with 3D */
.toast {
    position: fixed;
    bottom: calc(var(--margin-general) * 2);
    right: calc(var(--margin-general) * 2);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid var(--violet);
    border-radius: calc(var(--radius-general) * 2);
    padding: calc(var(--padding-general) * 1.5);
    min-width: 300px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(110, 96, 219, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: var(--gap-general);
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(100px);
}

@keyframes slideIn {
    from {
        transform: translateX(400px) translateZ(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0) translateZ(100px);
        opacity: 1;
    }
}

.toast-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--green), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow:
        0 4px 15px rgba(14, 220, 14, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.toast-content h4 {
    margin-bottom: calc(var(--margin-general) * 0.25);
    font-size: var(--normal-text);
}

.toast-content p {
    color: var(--grey);
    font-size: var(--small-text);
}

/* Brick Component with depth */
.brick {
    background: linear-gradient(135deg, rgba(110, 96, 219, 0.15) 0%, rgba(203, 91, 241, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid var(--violet);
    border-radius: calc(var(--radius-general) * 2);
    padding: calc(var(--padding-general) * 1.5);
    display: flex;
    align-items: center;
    gap: var(--gap-general);
    transition: var(--transition);
    cursor: pointer;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.brick:hover {
    background: linear-gradient(135deg, rgba(110, 96, 219, 0.2) 0%, rgba(203, 91, 241, 0.15) 100%);
    border-color: var(--purple);
    box-shadow:
        0 8px 30px rgba(110, 96, 219, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.brick-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-violet);
    border-radius: var(--radius-general);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(var(--big-text) * 1.5);
    flex-shrink: 0;
    box-shadow:
        0 8px 20px rgba(110, 96, 219, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.brick-content h3 {
    font-size: calc(var(--normal-text) * 1.1);
    margin-bottom: calc(var(--margin-general) * 0.25);
}

.brick-content p {
    color: var(--grey);
    font-size: var(--small-text);
}

/* Typography */
.text-heading {
    font-size: calc(var(--big-text) * 2.5);
    font-weight: 700;
    background: linear-gradient(135deg, var(--black) 0%, var(--violet) 50%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--margin-general);
    filter: drop-shadow(0 0 20px rgba(110, 96, 219, 0.2));
}

.text-subheading {
    font-size: calc(var(--big-text) * 1.5);
    color: var(--black);
    margin-bottom: calc(var(--margin-general) * 0.5);
}

.text-body {
    color: var(--grey);
    line-height: 1.6;
    margin-bottom: var(--margin-general);
}

.text-caption {
    color: var(--grey);
    font-size: var(--small-text);
}

/* Badge with glow */
.badge {
    display: inline-block;
    padding: calc(var(--padding-general) * 0.5) var(--padding-general);
    background: linear-gradient(135deg, rgba(110, 96, 219, 0.2), rgba(203, 91, 241, 0.2));
    border: 1px solid var(--violet);
    border-radius: calc(var(--radius-general) * 3);
    color: var(--violet);
    font-size: var(--small-text);
    font-weight: 600;
    box-shadow: 0 0 20px rgba(110, 96, 219, 0.2);
    margin-right: calc(var(--margin-general) * 0.5);
}

/* Modal/Dialog with enhanced depth */
.modal {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
    backdrop-filter: blur(30px);
    border: 1px solid var(--violet);
    border-radius: calc(var(--radius-general) * 3);
    padding: calc(var(--padding-general) * 2.5);
    max-width: 500px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px var(--violet),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--violet), var(--purple), transparent);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: calc(var(--margin-general) * 2);
}

.modal-title {
    font-size: calc(var(--big-text) * 1.75);
    font-weight: 600;
}

.close-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--red-light), rgba(220, 38, 38, 0.2));
    border: 1px solid var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--red);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.close-btn:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.3));
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.4);
    transform: scale(1.1);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 12px;
    background: linear-gradient(135deg, rgba(110, 96, 219, 0.1), rgba(203, 91, 241, 0.1));
    border: 1px solid var(--violet);
    border-radius: var(--radius-general);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-violet);
    width: 75%;
    border-radius: var(--radius-general);
    box-shadow:
        0 0 20px rgba(110, 96, 219, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
    border-radius: var(--radius-general) var(--radius-general) 0 0;
}

/* Divider */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--violet), var(--purple), transparent);
    margin: calc(var(--margin-general) * 3) 0;
    box-shadow: 0 0 10px rgba(110, 96, 219, 0.2);
}

/* Code Block */
.code-block {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
    border: 1px solid var(--violet);
    border-radius: calc(var(--radius-general) * 2);
    padding: calc(var(--padding-general) * 1.5);
    font-family: var(--code-font);
    color: var(--violet);
    overflow-x: auto;
    margin: var(--margin-general) 0;
    box-shadow:
        inset 0 2px 10px rgba(0, 0, 0, 0.5),
        0 4px 15px rgba(0, 0, 0, 0.3);
}

.code-line {
    margin-bottom: calc(var(--margin-general) * 0.5);
}

.code-keyword {
    color: var(--purple);
}

.code-string {
    color: var(--aqua);
}

/* Dropdown Select */
.select {
    width: 100%;
    padding: var(--padding-general) calc(var(--padding-general) * 1.5);
    background: var(--gradient-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-general);
    color: var(--black);
    font-size: var(--normal-text);
    font-family: var(--primary-font);
    transition: var(--transition);
    outline: none;
    cursor: pointer;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.05);
}

.select:hover {
    border-color: var(--violet);
}

.select:focus {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: var(--violet);
    box-shadow:
        0 0 0 3px rgba(110, 96, 219, 0.2),
        0 0 20px rgba(110, 96, 219, 0.3);
}

.select option {
    background: #1e293b;
    color: white;
}

/* Radio Button */
.radio-wrapper {
    display: flex;
    align-items: center;
    gap: calc(var(--gap-general) * 0.75);
    cursor: pointer;
    user-select: none;
    margin-bottom: calc(var(--margin-general) * 0.75);
}

.radio {
    appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, rgba(110, 96, 219, 0.1), rgba(203, 91, 241, 0.1));
    border: 2px solid var(--violet);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.radio:checked {
    background: var(--gradient-violet);
    border-color: var(--purple);
    box-shadow: 0 0 15px rgba(110, 96, 219, 0.4);
}

.radio:checked::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio:hover {
    border-color: var(--purple);
}

/* Textarea */
.textarea {
    width: 100%;
    padding: var(--padding-general) calc(var(--padding-general) * 1.5);
    background: var(--gradient-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-general);
    color: var(--black);
    font-size: var(--normal-text);
    font-family: var(--primary-font);
    transition: var(--transition);
    outline: none;
    resize: vertical;
    min-height: 120px;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.05);
}

.textarea::placeholder {
    color: var(--grey);
}

.textarea:focus {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: var(--violet);
    box-shadow:
        0 0 0 3px rgba(110, 96, 219, 0.2),
        0 0 20px rgba(110, 96, 219, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.textarea:hover {
    border-color: var(--violet);
}

/* Alert Box */
.alert {
    padding: calc(var(--padding-general) * 1.25) calc(var(--padding-general) * 1.5);
    border-radius: calc(var(--radius-general) * 2);
    display: flex;
    align-items: flex-start;
    gap: var(--gap-general);
    margin-bottom: calc(var(--margin-general) * 1.5);
    backdrop-filter: blur(10px);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.alert-success {
    background: var(--green-light);
    border: 1px solid var(--green);
}

.alert-warning {
    background: var(--orange-light);
    border: 1px solid var(--orange);
}

.alert-error {
    background: var(--red-light);
    border: 1px solid var(--red);
}

.alert-info {
    background: var(--blue-light);
    border: 1px solid var(--blue);
}

.alert-icon {
    font-size: calc(var(--big-text) * 1.5);
    flex-shrink: 0;
}

.alert-content h4 {
    margin-bottom: calc(var(--margin-general) * 0.25);
    font-size: var(--normal-text);
    font-weight: 600;
}

.alert-content p {
    font-size: var(--small-text);
    opacity: 0.9;
}

/* Tabs */
.tabs {
    display: flex;
    gap: calc(var(--gap-general) * 0.5);
    margin-bottom: calc(var(--margin-general) * 2);
    border-bottom: 1px solid var(--violet);
}

.tab {
    padding: var(--padding-general) calc(var(--padding-general) * 2);
    background: transparent;
    border: none;
    color: var(--grey);
    font-size: var(--normal-text);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    position: relative;
}

.tab:hover {
    color: var(--black);
}

.tab.active {
    color: var(--violet);
    border-bottom-color: var(--violet);
}

.tab.active::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-violet);
    box-shadow: 0 0 10px rgba(110, 96, 219, 0.5);
}

/* Spinner/Loader */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(110, 96, 219, 0.2);
    border-top-color: var(--violet);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    box-shadow: 0 0 20px rgba(110, 96, 219, 0.3);
}

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

/* Skeleton Loader */
.skeleton {
    background: linear-gradient(90deg,
            rgba(110, 96, 219, 0.1) 25%,
            rgba(110, 96, 219, 0.2) 50%,
            rgba(110, 96, 219, 0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-btn);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 16px;
    margin-bottom: calc(var(--margin-general) * 0.75);
}

.skeleton-text:last-child {
    width: 60%;
}

.skeleton-card {
    height: 200px;
}