.highlighted {
    position: relative
}

.highlighted::after {
    content: '';
    transform-origin: 0 0;
    transform: scaleX(0);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: .4em;
    background: #78ab4e;
    z-index: -1;
    opacity: 0.8;
    transition: transform .3s;
}

.highlighted:hover::after {
    transform: scaleX(1);
}

:root {
    --primary: #111;
    --bg: #fff;
    --accent: #0077ff;
}


dialog {
    border: 1px solid #0a102f;
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

input:invalid {
    border-color: red;
}

.close-btn {
    background: none;
    color: var(--primary);
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.25rem;
    border: none;
    cursor: pointer;
}

.error {
    color: red;
    font-size: 0.875rem;
}

.btn-send {
    background-color: #fff;
    color: #0a102f;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    border-radius: 4px;
}

.input-fom {
    border-radius: 4px !important;
}