:root {
    --primary: #012169;
    --secondary: #4379BD;
    --accent: #DAAA00;
    --gray: #D9D9D6;
    --black: #101820
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--black);
    background: #fff;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

header {
    background: var(--primary);
    color: #fff;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between
}

    header img {
        height: 60px
    }

    header .logo-section {
        display: flex;
        align-items: center;
        gap: 16px;
        flex: 1
    }

    header .inner {
        max-width: none;
        margin: 0
    }

    header h1 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: bold;
        margin: 0
    }

    header .contact-section {
        display: flex;
        align-items: center;
        gap: 16px;
        white-space: nowrap
    }

    header .vl {
        width: 1px;
        height: 24px;
        background: rgba(255, 255, 255, 0.3)
    }

    header a {
        color: #fff;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 6px
    }

        header a:hover {
            text-decoration: underline
        }

        header a.shop-link {
            background: var(--accent);
            color: var(--black);
            padding: 6px 12px;
            border-radius: 4px
        }

            header a.shop-link:hover {
                text-decoration: none;
                opacity: 0.9
            }

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px
    }

        header .contact-section {
            width: 100%;
            flex-wrap: wrap
        }
}

footer {
    background: var(--gray);
    color: var(--black);
    padding: 16px 24px;
    margin-top: auto;
    border-top: 1px solid #ccc;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
}

    footer p {
        margin: 0
    }



main {
    max-width: 900px;
    margin-left: 10%;
    padding: 32px 24px;
    flex: 1
}

h2 {
    color: var(--primary);
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: bold
}

.providers {
    display: flex;
    gap: 24px;
    flex-wrap: wrap
}

.card {
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 20px;
    width: 280px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(1, 33, 105, 0.12);
    transition: all .15s
}

    .card:hover {
        border-color: var(--accent);
        box-shadow: 0 6px 16px rgba(1, 33, 105, 0.18)
    }

    .card h2 {
        margin: 0 0 12px 0;
        font-size: 1.25rem
    }

    .card p {
        margin: 0;
        color: #666;
        font-size: 0.95rem
    }

.panel {
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 24px;
    max-width: 480px;
    box-shadow: 0 2px 8px rgba(1, 33, 105, 0.12)
}

a {
    color: var(--primary)
}

    a:hover {
        text-decoration: underline
    }

label {
    display: block;
    margin: 16px 0 6px;
    font-weight: bold;
    color: var(--black)
}

input {
    padding: 10px;
    width: 100%;
    border: 2px solid var(--gray);
    border-radius: 6px;
    font-size: 1rem;
    font-family: Arial, sans-serif
}

    input:focus {
        outline: 0;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(1, 33, 105, 0.1)
    }

button {
    margin-top: 16px;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    border: 0;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    font-family: Arial, sans-serif
}

    button:hover {
        background: var(--accent);
        color: var(--black)
    }

    button:disabled {
        opacity: .8;
        cursor: wait
    }

    button.busy::before {
        content: "";
        display: inline-block;
        width: 14px;
        height: 14px;
        margin-right: 8px;
        vertical-align: -2px;
        border: 2px solid currentColor;
        border-top-color: transparent;
        border-radius: 50%;
        animation: spin .8s linear infinite
    }

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.error {
    color: #c00;
    margin-top: 8px;
    font-weight: 500
}

code {
    background: #D9D9D6;
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 4px
}

ul {
    padding-left: 24px
}

.back-btn {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 16px;
    background: var(--gray);
    color: var(--primary);
    border: 1px solid #999;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem
}

    .back-btn:hover {
        background: #ccc;
        text-decoration: none
    }

.providers {
    display: flex;
    gap: 24px;
    flex-wrap: wrap
}
