/* Frontend Styles */
.tph-kyc-login-wrapper {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.tph-kyc-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
}

.tph-kyc-field {
    margin-bottom: 15px;
}

.tph-kyc-field label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.tph-kyc-field small {
    display: block;
    color: #666;
    margin-bottom: 5px;
}

.tph-kyc-field input[type="file"] {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.tph-kyc-status {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.tph-kyc-status.approved {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.tph-kyc-status.rejected {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.tph-kyc-status.pending {
    background-color: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.tph-kyc-status.requested-more {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.tph-kyc-success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.tph-kyc-errors {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.tph-kyc-errors ul {
    margin: 0;
    padding-left: 20px;
}

/* Admin Banner Styles */
.tph-kyc-banner {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-left: 4px solid #0073aa;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    margin: 20px 20px 20px 0;
    /* Standard WP admin margin */
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tph-kyc-banner-content h2 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #23282d;
}

.tph-kyc-banner-content p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.tph-kyc-banner-actions {
    display: flex;
    gap: 10px;
}

.tph-whatsapp-btn {
    background-color: #25D366 !important;
    color: #fff !important;
    border-color: #25D366 !important;
    display: flex !important;
    align-items: center;
}

.tph-whatsapp-btn:hover {
    background-color: #128C7E !important;
    border-color: #128C7E !important;
}

/* Responsive */
@media (max-width: 600px) {

    .tph-kyc-form,
    .tph-kyc-login-wrapper {
        width: 100%;
        padding: 10px;
    }

    .tph-kyc-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .tph-kyc-banner-actions {
        margin-top: 15px;
    }
}