/**
 * OVZA Notary Shared Styles
 * Common styles for form and other pages
 */

/* Form wrapper */
.ovza-notary-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: #148a64;
    margin: 0 0 10px;
    font-size: 26px;
}

.form-header p {
    color: #666;
    margin: 0;
}

.order-ref {
    background: #e8f5e9;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    margin-top: 10px !important;
    color: #148a64;
    font-weight: 600;
}

/* Form sections */
.form-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.form-section h3 {
    margin: 0 0 20px;
    color: #333;
    font-size: 18px;
    border-bottom: 2px solid #148a64;
    padding-bottom: 10px;
}

.section-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Form rows and groups */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    flex: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.form-group label span {
    color: #d63031;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #148a64;
    box-shadow: 0 0 0 3px rgba(20,138,100,0.1);
}

/* Person cards */
.person-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}

.person-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.person-number {
    font-weight: 700;
    color: #148a64;
    font-size: 16px;
}

.person-type {
    background: #e3f2fd;
    color: #1565c0;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* Form actions */
.form-actions {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background: #148a64;
    color: white;
    border: none;
    padding: 16px 50px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-btn:hover {
    background: #0f6d4d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20,138,100,0.3);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Notice */
.notice {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    color: #2e7d32;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .ovza-notary-form-wrapper {
        padding: 15px;
    }
    
    .form-section {
        padding: 15px;
    }
}


/* === OVZA STANDARD THANK YOU STYLES (Unified) === */
.ovza-standard-container {
    font-family: "Poppins", sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #333;
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
}

.ovza-illustration img {
    width: 220px;
    margin-bottom: 20px;
}

.ovza-standard-container h1 {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.2;
}

.ovza-standard-container h2 {
    font-size: 22px;
    color: #4caf7d;
    margin-top: 8px;
    font-weight: 600;
}

/* The Green Box */
.ovza-standard-box {
    border: 1.5px solid #4caf7d;
    border-radius: 8px;
    padding: 30px;
    margin-top: 30px;
}

.ovza-order-number {
    color: #4caf7d;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.ovza-order-number span {
    color: #333;
}

.ovza-standard-message {
    font-size: 15px;
    color: #000;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Buttons */
.ovza-action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.ovza-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    text-decoration: none;
}

.ovza-btn-primary {
    background: #148a64;
    color: white !important;
}

.ovza-btn-track {
    background: #148a64;
    color: white !important;
}

.ovza-btn-download {
    background: #2e7d32;
    color: white !important;
}

.ovza-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0.9;
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    #ovza-print-area, #ovza-print-area * {
        visibility: visible;
    }
    #ovza-print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        background: white;
    }
    .ovza-action-buttons {
        display: none !important;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .ovza-standard-container h1 {
        font-size: 36px;
    }
    .ovza-standard-box {
        padding: 20px;
    }
}
