* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f5f6fa;
    color: #212529;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

.header {
    width: 100%;
    background-color: #0b3d91;
    border-bottom: 3px solid #07285c;
    padding: 14px 16px;
}

.header-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.header-text h1 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.content {
    background-color: #ffffff;
    width: 100%;
    max-width: 480px;
    margin: 32px auto;
    padding: 24px 20px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.verification-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

label {
    font-size: 14px;
    font-weight: 500;
    color: #212529;
}

input, button, select, textarea {
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
}

input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid #ced4da;
    font-size: 14px;
    outline: none;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
    border-color: #0b3d91;
    box-shadow: 0 0 0 2px rgba(11, 61, 145, 0.15);
}

.btn {
    display: inline-block;
    text-align: center;
    padding: 10px 14px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.btn-main {
    background-color: #0b3d91;
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.16);
}

.btn-main:hover {
    background-color: #07285c;
}

.btn-secondary {
    background-color: #e9ecef;
    color: #212529;
    box-shadow: none;
    border: 1px solid #ced4da;
}

.btn-secondary:hover {
    background-color: #dde1e5;
    border-color: #b5bcc5;
}

.verified-content {
    width: 100%;
    max-width: 720px;
    margin: 32px auto;
    display: flex;
    justify-content: center;
    padding: 0 16px;
}

.verified-box {
    background-color: #ffffff;
    width: 100%;
    padding: 24px 20px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
    border-top: 4px solid #0b3d91;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.verified-box h2 {
    font-size: 20px;
    font-weight: 600;
    color: #0b3d91;
    margin-bottom: 16px;
}

.verified-box p {
    font-size: 14px;
    color: #495057;
}

.apostille-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 20px;
    font-size: 14px;
}

.apostille-table th, .apostille-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.apostille-table th {
    width: 40%;
    font-weight: 600;
    background-color: #f1f3f5;
    color: #212529;
}

.apostille-table td {
    color: #343a40;
}

.back-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 14px;
    border-radius: 4px;
    border: 1px solid #0b3d91;
    color: #0b3d91;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    background-color: #ffffff;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.back-btn:hover {
    background-color: #0b3d91;
    color: #ffffff;
}

@media (max-width: 600px) {
    .header-container {
        justify-content: center;
        text-align: center;
    }
    .content {
        margin: 20px 12px;
        padding: 20px 16px;
    }
    .verified-content {
        margin: 20px 12px;
    }
    #login-btn {
  margin-top: 15px !important;
  width: 100%;
}
}
/* --- СТИЛИ ДЛЯ НОВОЙ ГЛАВНОЙ СТРАНИЦЫ --- */
.landing-container { 
    text-align: center; 
    padding: 40px 20px; 
}
.lang-selector { 
    padding: 6px; 
    font-size: 14px; 
    border-radius: 4px; 
    border: 1px solid #ccc; 
    font-weight: bold; 
    color: #0b3d91; 
    cursor: pointer; 
}
.useful-links { 
    margin-top: 40px; 
    text-align: left; 
    background: #fff; 
    padding: 25px; 
    border-radius: 8px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); 
}
.useful-links h3 { 
    border-bottom: 2px solid #eee; 
    padding-bottom: 10px; 
    color: #0b3d91; 
    margin-top: 0; 
}
.useful-links a { 
    display: block; 
    margin: 14px 0; 
    color: #333; 
    text-decoration: none; 
    font-weight: 500; 
    transition: 0.2s; 
}
.useful-links a:hover { 
    color: #0b3d91; 
    padding-left: 5px; 
}
.start-btn { 
    display: inline-block; 
    background-color: #2e7d32; 
    color: white; 
    padding: 18px 60px; 
    font-size: 22px; 
    text-decoration: none; 
    border-radius: 8px; 
    margin-top: 20px; 
    font-weight: bold; 
    box-shadow: 0 4px 10px rgba(46,125,50,0.3); 
    transition: 0.2s; 
}
.start-btn:hover { 
    background-color: #1b5e20; 
    transform: translateY(-3px); 
}

