/**
 * Verification Form Styles
 * Styles for the verification pending form displayed on dashboards
 */

.verification-pending-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.verification-message {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #2563eb;
    border-radius: 4px;
}

.verification-message h2 {
    margin: 0 0 10px 0;
    color: #1b3b4c;
    font-size: 24px;
}

.verification-message p {
    margin: 8px 0;
    color: #555;
    line-height: 1.6;
}

.verification-status {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
}

.verification-status h3 {
    margin: 0 0 15px 0;
    color: #856404;
    font-size: 18px;
}

.status-info p {
    margin: 8px 0;
    color: #856404;
}

.status-pending {
    color: #ff9800;
    font-weight: 600;
}

.note {
    font-style: italic;
    font-size: 14px;
    margin-top: 10px !important;
}

.verification-form {
    margin-top: 20px;
}

.form-field {
    margin-bottom: 25px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1b3b4c;
}

.required {
    color: #dc3545;
}

.file-upload-wrapper {
    margin-top: 8px;
}

/* Hide the actual file input */
.file-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Custom upload zone styling */
.file-upload-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-zone:hover {
    border-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.file-upload-zone.drag-over {
    border-color: #2563eb;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    transform: scale(1.01);
}

.upload-icon {
    color: #64748b;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.file-upload-zone:hover .upload-icon {
    color: #2563eb;
}

.upload-text {
    margin-bottom: 12px;
}

.upload-main-text {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    margin: 0 0 8px 0;
}

.upload-sub-text {
    font-size: 14px;
    color: #94a3b8;
    margin: 0 0 12px 0;
}

.btn-browse {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-browse:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.upload-hint {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

/* File selected feedback */
.file-selected {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid #10b981;
    border-radius: 12px;
    margin-top: 0;
}

.file-icon {
    flex-shrink: 0;
    color: #10b981;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.file-name {
    font-size: 15px;
    font-weight: 600;
    color: #065f46;
    margin: 0 0 4px 0;
    word-break: break-all;
}

.file-size {
    font-size: 13px;
    color: #059669;
    margin: 0;
}

.btn-remove-file {
    flex-shrink: 0;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #dc2626;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-file:hover {
    background: #fee2e2;
}

.file-hint-links {
    margin-top: 16px;
    text-align: center;
}

.format-link {
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.format-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.format-link svg {
    flex-shrink: 0;
}

.form-error {
    margin-top: 8px;
    padding: 8px 12px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 4px;
    color: #c33;
    font-size: 14px;
    display: none;
}

.form-error[hidden] {
    display: none !important;
}

.form-error:not([hidden]) {
    display: block;
}

.form-actions {
    margin-top: 30px;
    text-align: center;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.btn-primary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .verification-pending-container {
        margin: 20px;
        padding: 20px;
    }

    .verification-message h2 {
        font-size: 20px;
    }
}
label.error{
    color: red;
    font-size: 12px !important;
}
.form-control.required.error {
    border: red 1px solid;
}
