/**
 * Frontend Styles for 24TT Document Verifier
 * Armed with !important to prevent aggressive themes from breaking the UI.
 */

.ttdvr-document-verification-form-wrapper {
    background-color: #ffffff !important;
    border-radius: 8px !important;
    padding: 40px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    max-width: 600px !important;
    margin: 40px auto !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #333333 !important;
    box-sizing: border-box !important;
}

.ttdvr-form-title {
    text-align: center !important;
    margin-top: 0 !important;
    margin-bottom: 25px !important;
    font-size: 26px !important;
    color: #222222 !important;
    font-weight: 500 !important;
}

.ttdvr-input-group {
    margin-bottom: 20px !important;
}

.ttdvr-input-label {
    display: block !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    font-size: 14px !important;
    color: #444444 !important;
}

.ttdvr-document-verification-form-wrapper input[type="text"] {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #cccccc !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    color: #333333 !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.ttdvr-submit-group {
    text-align: center !important;
}

.ttdvr-verify-btn {
    background-color: #0073aa !important;
    /* Premium WordPress Blue */
    color: #ffffff !important;
    border: none !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: background-color 0.3s ease !important;
}

.ttdvr-verify-btn:hover {
    background-color: #005177 !important;
}

.ttdvr-divider-dashed {
    border: 0 !important;
    border-top: 1px dashed #cccccc !important;
    margin: 30px 0 !important;
}

/* ==========================================================================
   Verification Success Box (Matching your exact screenshot)
   ========================================================================== */
.ttdvr-success-box {
    background-color: #eefceb !important;
    /* Very Light Green */
    border: 1px solid #4caf50 !important;
    /* Solid Green Border */
    border-radius: 6px !important;
    padding: 25px !important;
    color: #333333 !important;
}

.ttdvr-success-title {
    color: #28a745 !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    font-size: 20px !important;
    font-weight: 600 !important;
}

.ttdvr-status-line,
.ttdvr-category-line {
    font-size: 14px !important;
    margin: 8px 0 !important;
    color: #222222 !important;
}

.ttdvr-valid-badge {
    color: #28a745 !important;
    font-weight: bold !important;
}

.ttdvr-thin-divider {
    border: 0 !important;
    border-top: 1px solid #c3e6cb !important;
    margin: 15px 0 !important;
}

.ttdvr-details-title {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    font-size: 16px !important;
    color: #222222 !important;
    font-weight: 600 !important;
}

/* The Two-Tone Table */
.ttdvr-details-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid #c3e6cb !important;
    margin-bottom: 0 !important;
}

.ttdvr-details-table th,
.ttdvr-details-table td {
    padding: 12px 15px !important;
    border: 1px solid #c3e6cb !important;
    font-size: 14px !important;
    text-align: left !important;
}

.ttdvr-details-table th {
    background-color: transparent !important;
    /* Lets the light green show through */
    color: #444444 !important;
    width: 35% !important;
    font-weight: normal !important;
}

.ttdvr-details-table td {
    background-color: #ffffff !important;
    /* Pure white data boxes */
    color: #333333 !important;
}

.ttdvr-view-file-link {
    color: #0073aa !important;
    text-decoration: none !important;
    font-weight: bold !important;
}

.ttdvr-view-file-link:hover {
    text-decoration: underline !important;
}

.ttdvr-verification-error {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border: 1px solid #f5c6cb !important;
    padding: 15px !important;
    border-radius: 4px !important;
    text-align: center !important;
    font-weight: bold !important;
}