/**
 * KB User Registration Validator - Frontend Styles
 *
 * @author    Starter
 * @copyright 2024
 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

/* File Upload Field */
.kbuv-file-upload {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.kbuv-file-upload label {
    font-weight: 600;
    color: #333;
}

.kbuv-file-upload input[type="file"] {
    padding: 8px;
    border: 1px dashed #ccc;
    border-radius: 4px;
    background: #fff;
    width: 100%;
    cursor: pointer;
}

.kbuv-file-upload input[type="file"]:hover {
    border-color: #2fb5d2;
}

.kbuv-file-upload .form-text {
    margin-top: 8px;
    font-size: 0.85rem;
}

/* Pending Message Box */
.kbuv-pending-message {
    margin: 20px 0;
    padding: 20px;
    background-color: #e7f3ff;
    border: 1px solid #b8daff;
    border-radius: 4px;
    color: #004085;
}

.kbuv-pending-message p {
    margin-bottom: 10px;
}

.kbuv-pending-message p:last-child {
    margin-bottom: 0;
}

/* Registration Success Message */
.kbuv-registration-pending {
    padding: 30px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}

.kbuv-registration-pending h2 {
    color: #856404;
    margin-bottom: 15px;
}

.kbuv-registration-pending p {
    color: #856404;
    margin-bottom: 10px;
}

.kbuv-registration-pending .icon {
    font-size: 3rem;
    color: #ffc107;
    margin-bottom: 15px;
}

/* Error Message for File */
.kbuv-file-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.kbuv-file-upload.has-error input[type="file"] {
    border-color: #dc3545;
}

.kbuv-file-upload.has-error .kbuv-file-error {
    display: block;
}

/* Responsive */
@media (max-width: 767px) {
    .kbuv-file-upload {
        padding: 10px;
    }

    .kbuv-pending-message {
        padding: 15px;
    }
}
