/* ── Spinner ─────────────────────────────────────────────────── */
.andras-skc-inline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.andras-skc-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: andras-skc-spin .8s linear infinite;
}

@keyframes andras-skc-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Layout ───────────────────────────────────────────────── */
.andras-skc-form {
    max-width: 100%;
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.andras-skc-form .andras-skc-label {
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

    /* ITT VAN A KÉRT JAVÍTÁS: 14px !important */
    font-size: 14px !important;

    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0;

    /* Gap az input és a label között: 4px */
    margin-bottom: 4px;

    /* Alapértelmezett (Sötét) téma színe */
    color: #E6EAED;
}

/* Input és gomb konténere */
.andras-skc-form .andras-skc-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;

    /* Gap a gomb és az input között: 12px */
    gap: 12px;
}

/* ── Input ───────────────────────────── */
.andras-skc-form .andras-skc-input {
    flex: 1 1 auto;
    min-width: 0;

    /* 40px magasság */
    height: 40px !important;
    padding: 0 12px;

    /* Kerekítés kényszerítése */
    border-radius: 8px !important;

    /* Dark Default Style */
    border: 1px solid #FFFFFF33;
    background: #00000080;
    color: #EDEFF1;
    font-family: monospace;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease-in-out;
}

.andras-skc-form .andras-skc-input::placeholder {
    color: #9AA0A6;
    opacity: 1;
}

/* Input FOCUS */
body .andras-skc-form .andras-skc-input:focus {
    box-shadow: 0 0 0 2px rgba(128, 200, 255, .35);
    border-color: #FFFFFF !important;
    background: #00000080 !important;
}

/* HIBA ÁLLAPOT */
.andras-skc-form .andras-skc-input.andras-skc-input-error {
    border-color: #D92D20 !important;
    background-color: #D92D2008 !important;
    color: #D92D20 !important;
}

.andras-skc-form .andras-skc-input.andras-skc-input-error:focus {
    box-shadow: 0 0 0 2px rgba(217, 45, 32, 0.25) !important;
}

/* ── Gomb (Alapértelmezett / Sötét téma) ───────────────────── */
.andras-skc-form .button.button-skin-1 {
    width: 100px;

    /* 40px magasság */
    height: 40px !important;
    padding: 0 12px !important;

    border-radius: 8px !important;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* Alapállapot */
    background: transparent !important;
    border: 1px solid #FFFFFF !important;
    color: #FFFFFF !important;

    cursor: pointer;
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;

    transition: all 0.2s ease-in-out;
}

/* Hover (Alapértelmezett / Sötét téma) */
body .andras-skc-form button.button.button-skin-1:hover,
body .andras-skc-form .button.button-skin-1:hover {
    background: #9de444 !important;
    background-color: #9de444 !important;
    border-color: #9de444 !important;
    color: #000000 !important;
    /* FEKETE */
    opacity: 1 !important;
}

.andras-skc-form .button.button-skin-1:active {
    transform: translateY(1px);
}

/* ── Eredmény Konténer ─────────────────────────── */
.andras-skc-result {
    margin-top: .5rem;
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #E6EAED;
}

.andras-skc-result strong {
    font-weight: 700;
    color: inherit;
}

.andras-skc-result-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.andras-skc-result--invalid-input {
    color: #f4c3bf !important;
    font-size: 14px;
}

.andras-skc-result--compatible {
    color: #E6EAED;
    font-size: 16px;
}

.andras-skc-result--compatible::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('../img/ok-ico.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
    margin-top: 2px;
}

.andras-skc-result--incompatible {
    color: #E6EAED;
    font-size: 16px;
}

.andras-skc-result--incompatible::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('../img/ok-red-ico.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
    margin-top: 2px;
}

.andras-skc-restart {
    display: block;
    margin-top: 8px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    text-decoration: none;
    color: #43A047;
    cursor: pointer;
    transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.andras-skc-restart:hover {
    text-decoration: none;
    color: #81c784;
    opacity: 1;
}

.andras-skc-flash {
    animation: andras-skc-flash .8s ease-in-out 1;
    will-change: opacity;
}

@keyframes andras-skc-flash {
    0% {
        opacity: 1;
    }

    50% {
        opacity: .1;
    }

    100% {
        opacity: 1;
    }
}

/* ── Responsive ───────────────────────── */
@media (max-width: 520px) {
    .andras-skc-form .andras-skc-row {
        flex-wrap: wrap;
        gap: 16px;
    }

    .andras-skc-form .button.button-skin-1 {
        width: 100%;
    }
}

/* ==========================================================================
   LIGHT THEME OVERRIDES (theme="light")
   ========================================================================== */

/* Light Theme Label: Sötét szín (rgba 0,0,0,0.64) */
.andras-skc-form.andras-skc-theme-light .andras-skc-label {
    color: rgba(0, 0, 0, 0.64);
}

.andras-skc-form.andras-skc-theme-light .andras-skc-input {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    color: #444444;
    box-shadow: none;
}

.andras-skc-form.andras-skc-theme-light .andras-skc-input::placeholder {
    color: #B0B0B0;
}

.andras-skc-form.andras-skc-theme-light .andras-skc-input:focus {
    border-color: #5DBB34 !important;
    box-shadow: 0 0 0 1px #5DBB34;
    color: #444444 !important;
    background: #FFFFFF !important;
}

/* LIGHT THEME GOMB ALAPÁLLAPOT */
.andras-skc-form.andras-skc-theme-light .button.button-skin-1 {
    background: transparent !important;
    border: 2px solid #5DBB34 !important;
    color: #5DBB34 !important;
}

/* LIGHT THEME GOMB HOVER */
body .andras-skc-form.andras-skc-theme-light button.button.button-skin-1:hover,
body .andras-skc-form.andras-skc-theme-light .button.button-skin-1:hover {
    background: #9de444 !important;
    background-color: #9de444 !important;
    border-color: #9de444 !important;
}

.andras-skc-form.andras-skc-theme-light .andras-skc-result--invalid-input {
    color: #D92D20 !important;
}

.andras-skc-form.andras-skc-theme-light .andras-skc-result--compatible,
.andras-skc-form.andras-skc-theme-light .andras-skc-result--incompatible,
.andras-skc-form.andras-skc-theme-light .andras-skc-result {
    color: #444444;
}

.andras-skc-form.andras-skc-theme-light .andras-skc-restart:hover {
    color: #43A047;
    opacity: 0.75;
}