:root {
    --side-bg: #002d5a;
    --main-blue: #004a99;
    --success: #2ecc71;
    --body-bg: #f4f7f9;
    --border: #e2e8f0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--body-bg);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.verify-container {
    width: 95%;
    max-width: 480px;
    padding: 20px;
}

.verify-header {
    text-align: center;
    margin-bottom: 25px;
}

.verify-gerb {
    width: 80px;
    margin-bottom: 10px;
}

.verify-header h1 {
    font-size: 18px;
    color: var(--side-bg);
    text-transform: uppercase;
    margin: 0;
}

.verify-header p {
    font-size: 13px;
    color: #64748b;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.search-box h3 {
    font-size: 15px;
    margin: 0 0 15px 0;
    color: var(--side-bg);
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background: var(--main-blue);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.error-msg {
    color: #e74c3c;
    font-size: 13px;
    text-align: center;
    margin-top: 10px;
}

.btn-link {
    background: none;
    border: none;
    color: var(--main-blue);
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
    width: 100%;
}

/* Стилі результатів */
.status-success {
    text-align: center;
    color: var(--success);
    margin-bottom: 20px;
}

.status-success i { font-size: 40px; }

.cert-details {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #edf2f7;
}

.detail-row:last-child { border-bottom: none; }

.badge-active {
    background: #dcfce7;
    color: #166534;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.btn-download {
    display: block;
    text-align: center;
    background: var(--success);
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    margin-bottom: 10px;
}

.btn-back {
    width: 100%;
    background: none;
    border: 1px solid var(--border);
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    color: #64748b;
}

.verify-footer {
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 20px;
}