* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('/static/fonts/SVN-Gilroy-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

body {
    font-family: 'SVN-Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: linear-gradient(rgba(30, 90, 142, 0.85), rgba(41, 128, 185, 0.85)), url('/static/images/header-bg.jpg') center/cover;
    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-content {
    position: relative;
    z-index: 1;
}

.logo h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: 6px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    line-height: 1.4;
}

.main-content {
    padding: 60px 20px;
}

.page-title {
    text-align: center;
    margin-bottom: 50px;
}

.page-title h2 {
    color: #1e3a5f;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-title p {
    color: #666;
    font-size: 1.1rem;
}

.verification-form-wrapper {
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto 40px;
}

.verification-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #1e3a5f;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-group label .required {
    color: #e74c3c;
    margin-left: 4px;
}

.form-group input {
    padding: 14px 18px;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2980b9;
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1);
}

.form-group input::placeholder {
    color: #adb5bd;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

.btn {
    padding: 14px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #2980b9 0%, #1e5a8e 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(41, 128, 185, 0.3);
}

.btn-secondary {
    background: white;
    color: #666;
    border: 2px solid #e0e6ed;
}

.btn-secondary:hover {
    background: #f8f9fa;
    border-color: #cbd5e0;
}

.loading-state {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2980b9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-state p {
    color: #666;
    font-size: 1.1rem;
}

.result-display {
    max-width: 900px;
    margin: 40px auto;
}

.result-card {
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.result-card.success {
    border-top: 5px solid #27ae60;
}

.result-card.error {
    border-top: 5px solid #e74c3c;
}

.result-header {
    text-align: center;
    margin-bottom: 40px;
}

.icon-success {
    color: #27ae60;
    margin-bottom: 20px;
}

.icon-error {
    color: #e74c3c;
    margin-bottom: 20px;
}

.result-header h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.result-card.success .result-header h3 {
    color: #27ae60;
}

.result-card.error .result-header h3 {
    color: #e74c3c;
}

.result-content {
    text-align: left;
}

.info-section {
    margin-bottom: 35px;
}

.info-section h4 {
    color: #1e3a5f;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e6ed;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-item .label {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.info-item .value {
    color: #1e3a5f;
    font-size: 1.05rem;
    font-weight: 500;
}

.info-item .value.highlight {
    color: #2980b9;
    font-size: 1.4rem;
    font-weight: 600;
}

.signers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.signer {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2980b9;
}

.signer-role {
    display: block;
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 500;
}

.signer-name {
    display: block;
    color: #1e3a5f;
    font-size: 1.05rem;
    font-weight: 600;
}

.footer {
    background: #1e3a5f;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

.footer p {
    font-size: 0.95rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .header {
        padding: 80px 20px;
    }
    
    .logo h1 {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    
    .verification-form-wrapper {
        padding: 30px 20px;
    }
    
    .verification-form .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .signers {
        grid-template-columns: 1fr;
    }
    
    .result-card {
        padding: 30px 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}
