/* ============================================
   WC Bank Transfer ML — Frontend Styles
   ============================================ */

.wcbtml-thankyou-wrapper {
    max-width: 600px;
    margin: 20px 0;
}
.wcbtml-instructions {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
}
.wcbtml-bank-details {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    font-family: monospace;
}
.wcbtml-upload-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
}
.wcbtml-upload-section h3 {
    margin-top: 0;
}

/* Dropzone */
.wcbtml-dropzone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: #fafafa;
}
.wcbtml-dropzone:hover,
.wcbtml-dropzone.dragover {
    border-color: #2196F3;
    background: #e3f2fd;
}
.wcbtml-dropzone svg {
    color: #999;
    margin-bottom: 10px;
}
.wcbtml-dropzone:hover svg,
.wcbtml-dropzone.dragover svg {
    color: #2196F3;
}
.wcbtml-dropzone p {
    margin: 5px 0;
    color: #555;
    font-size: 14px;
}
.wcbtml-dropzone .wcbtml-file-types {
    font-size: 12px;
    color: #999;
}
.wcbtml-dropzone input[type="file"] {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* File preview */
.wcbtml-file-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 6px;
    padding: 10px 15px;
    margin: 10px 0;
}
.wcbtml-file-name {
    font-size: 14px;
    color: #2e7d32;
    font-weight: 500;
}
.wcbtml-remove-file {
    background: none;
    border: none;
    color: #c62828;
    font-size: 20px;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
}

/* Progress */
.wcbtml-upload-progress {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.wcbtml-progress-bar {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}
.wcbtml-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #2196F3, #1976D2);
    border-radius: 4px;
    transition: width 0.3s ease;
}
.wcbtml-progress-text {
    font-size: 12px;
    color: #666;
    min-width: 35px;
}

/* Upload button */
.wcbtml-upload-btn {
    display: block !important;
    width: 100%;
    padding: 12px !important;
    background: #2196F3 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin-top: 15px !important;
    transition: background 0.3s !important;
}
.wcbtml-upload-btn:hover {
    background: #1976D2 !important;
}
.wcbtml-upload-btn:disabled {
    background: #90CAF9 !important;
    cursor: not-allowed !important;
}

/* Messages */
.wcbtml-upload-message {
    padding: 12px 15px;
    border-radius: 6px;
    margin: 10px 0;
    font-size: 14px;
}
.wcbtml-upload-message.success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}
.wcbtml-upload-message.error {
    background: #ffebee;
    border: 1px solid #ef9a9a;
    color: #c62828;
}

/* Status badges */
.wcbtml-receipt-status {
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    font-size: 15px;
}
.wcbtml-receipt-status.wcbtml-success,
.wcbtml-receipt-status.wcbtml-verified {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}
.wcbtml-receipt-status.wcbtml-pending {
    background: #fff3e0;
    border: 1px solid #ffcc80;
    color: #e65100;
}

/* Standalone upload page */
.wcbtml-standalone-upload {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
}
.wcbtml-standalone-container {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
