/* Selection */

::selection {
    background: var(--primary);
    color: white;
}

/* Scrollbar */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--surface-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Body */

body {
    background: var(--background);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.7;
}

/* Background */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

/* Header */

.hero-overlay h1 {
    font-size: clamp(2.5rem,6vw,5rem);
    margin-bottom: 16px;
    text-shadow: 0 0 20px rgba(0,0,0,.45);
}

.hero-overlay p {
    color: var(--info);
    font-size: 1.15rem;
    max-width: 700px;
}

/* Navigation */

.navbar {
    transition: background var(--transition),box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-medium);
}

/* Links */

a {
    transition: color var(--transition);
}

/* Sections */

.section:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,.04);
}

/* Images */

img {
    display: block;
    max-width: 100%;
}

/* Forms */

input,
textarea,
select {
    width: 100%;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    padding: 14px 16px;
    outline: none;
    transition: border-color var(--transition),box-shadow var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230,74,69,.15);
}

/* Code */

pre {
    overflow-x: auto;
}

code {
    font-family: var(--font);
}

/* Utilities */

.text-primary {
    color: var(--primary);
}

.text-info {
    color: var(--info);
}

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

.shadow {
    box-shadow: var(--shadow-medium);
}

.rounded {
    border-radius: var(--radius);
}

.full-width {
    width: 100%;
}



.star-rating {
    display: flex;
    gap: 8px;
    margin: 12px 0 4px;
}

.rating-star {
    appearance: none;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    color: #4b5563;
    transition: transform 0.15s ease, color 0.15s ease;
}

.rating-star:hover {
    transform: scale(1.12);
    color: #f5c542;
}

.rating-star.active {
    color: #f5c542;
}

.rating-status {
    margin-top: 6px;
    margin-bottom: 20px;
    color: #7492a1;
}

.feedback-character-counter {
    text-align: right;
    margin-top: 6px;
    margin-bottom: 20px;
    color: #7492a1;
    font-size: 13px;
}

.ticket-feedback-section {
    max-width: 760px;
}