/* Technická podpora – modal na webu */

.draci-podpora-capture {
    position: fixed;
    inset: 0;
    z-index: 999980;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.55);
    color: #fff;
    font-family: Inter, system-ui, sans-serif;
}

.draci-podpora-capture__box {
    text-align: center;
    padding: 2rem;
}

.draci-podpora-capture__spinner {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-top-color: var(--draci-pink);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: draci-podpora-spin 0.8s linear infinite;
}

@keyframes draci-podpora-spin {
    to { transform: rotate(360deg); }
}

.draci-podpora {
    position: fixed;
    inset: 0;
    z-index: 999990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
    font-family: Inter, system-ui, sans-serif;
}

.draci-podpora[hidden] {
    display: none !important;
}

.draci-podpora.is-open {
    pointer-events: auto;
}

.draci-podpora__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.52);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.draci-podpora.is-open .draci-podpora__backdrop {
    opacity: 1;
}

.draci-podpora__panel {
    position: relative;
    width: min(100%, 44rem);
    max-height: min(94vh, 54rem);
    overflow: auto;
    background: #fff;
    border-radius: 1.25rem;
    border: 1px solid #e8e8e8;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    transform: translateY(0.75rem) scale(0.98);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.draci-podpora.is-open .draci-podpora__panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.draci-podpora__inner {
    padding: 1.35rem 1.35rem 1.5rem;
}

@media (min-width: 640px) {
    .draci-podpora__inner {
        padding: 1.6rem 1.85rem 1.85rem;
    }
}

.draci-podpora__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.draci-podpora__title {
    font-family: Oswald, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #111;
    margin: 0;
    line-height: 1.2;
}

.draci-podpora__subtitle {
    margin: 0.4rem 0 0;
    font-size: 0.84rem;
    color: #666;
    line-height: 1.5;
    max-width: 34rem;
}

.draci-podpora__close {
    border: 0;
    background: #f3f4f6;
    color: #555;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.draci-podpora__close:hover {
    background: #e5e7eb;
    color: #111;
}

/* Screenshot náhled */
.draci-podpora__shot-wrap {
    margin-bottom: 1.15rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.65rem;
    overflow: hidden;
    background: #fff;
}

.draci-podpora__shot-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #9ca3af;
    padding: 0.55rem 0.8rem;
    border-bottom: 1px solid #ececec;
    background: #fff;
}

.draci-podpora__shot-scroll {
    max-height: min(22rem, 42vh);
    overflow-y: auto;
    overflow-x: hidden;
    background: #f3f4f6;
    scrollbar-width: thin;
    scrollbar-color: #b8bcc4 #f3f4f6;
}

.draci-podpora__shot-scroll::-webkit-scrollbar {
    width: 10px;
}

.draci-podpora__shot-scroll::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.draci-podpora__shot-scroll::-webkit-scrollbar-thumb {
    background: #b8bcc4;
    border-radius: 6px;
    border: 2px solid #f3f4f6;
}

.draci-podpora__shot-scroll::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.draci-podpora__shot {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
    background: #fff;
}

/* Formulář */
.draci-podpora__field {
    margin-bottom: 1rem;
}

.draci-podpora__label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin-bottom: 0.4rem;
}

.draci-podpora__input,
.draci-podpora__textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.6rem;
    padding: 0.7rem 0.85rem;
    font: inherit;
    font-size: 0.95rem;
    color: #111;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.draci-podpora__input:focus,
.draci-podpora__textarea:focus {
    outline: none;
    border-color: var(--draci-pink);
    box-shadow: 0 0 0 3px rgba(var(--draci-pink-rgb), 0.14);
}

.draci-podpora__textarea {
    min-height: 7rem;
    resize: vertical;
    line-height: 1.45;
}

.draci-podpora__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.15rem;
}

.draci-podpora__btn {
    border: 0;
    border-radius: 999px;
    padding: 0.72rem 1.25rem;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    cursor: pointer;
    white-space: nowrap;
}

.draci-podpora__btn--primary {
    background: var(--draci-pink);
    color: #fff;
}

.draci-podpora__btn--primary:hover:not(:disabled) {
    background: #cc005a;
}

.draci-podpora__btn--primary:disabled {
    opacity: 0.55;
    cursor: wait;
}

.draci-podpora__btn--ghost {
    background: #f3f4f6;
    color: #374151;
}

.draci-podpora__btn--ghost:hover {
    background: #e5e7eb;
}

.draci-podpora__status {
    margin-top: 0.8rem;
    font-size: 0.84rem;
    line-height: 1.45;
}

.draci-podpora__status.is-error {
    color: #b91c1c;
}

.draci-podpora__status.is-ok {
    color: #15803d;
}
