#bank-payment-widget {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.bank-widget-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 0px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.bank-widget-inner {
    background: white;
    border-radius: 15px;
    padding: 15px;
}

.sbp-icon {
    display: block;
    margin: 0 auto 20px;
    max-width: 40px !important;
    height: auto;
}

.bank-widget-title {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
    font-size: 16px !important;
    font-weight: bold;
}

.details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.details-header h2 {
    margin: 0;
    font-size: 18px !important;
    color: #333;
    margin-left: 20px;
}

.back-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
    margin-right: 20px;
}

.back-link:hover {
    color: #5568d3;
}

.bank-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.bank-btn {
    padding: 14px 28px;
    border: 1px solid #eee;
    background: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.bank-btn:hover {
    border-color: #23BF49;
    background: #23BF49 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.bank-btn.active {
    background: #23BF49 !important;
    color: white;
    border-color: #23BF49;
}

.bank-content {
    display: none;
}

.bank-content.active {
    display: block;
}

.bank-details {
    background: #efefef;
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
}

.detail-row {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    margin-bottom: 12px;
}

.detail-row > div {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.recipient-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.recipient-name {
    display: block;
    width: 100%;
}

@media (min-width: 768px) {
    .recipient-row {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    .recipient-name {
        width: auto;
    }
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.detail-label {
    font-weight: 600;
    color: #666;
    font-size: 14px;
    margin-right: 20px;
}

.detail-value {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.phone-number {
    color: #333;
    font-size: 16px;
}

.copy-btn {
    padding: 8px;
    background: #333;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: #555;
}

.copy-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.bank-instructions {
    background: #E5FB70;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    color: #55630c;
    font-size: 15px;
    line-height: 1.8;
}

.bank-instructions strong,
.bank-instructions b {
    font-weight: 700;
    color: #3d4508;
}

.upload-section {
    margin: 25px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

.upload-label {
    display: inline-block;
    padding: 12px 35px;
    background: #23BF49;
    color: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 16px;
}

.upload-label:hover {
    background: #1fa13e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.file-input {
    display: none;
}

.preview-section {
    display: none;
    margin-top: 25px;
    padding: 25px;
    background: #e8f5e9;
    border-radius: 12px;
    text-align: center;
}

.preview-section.show {
    display: block;
}

.preview-image {
    max-width: 100%;
    max-height: 350px;
    border-radius: 12px;
    margin: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.success-message {
    font-size: 18px;
    color: #2e7d32;
    font-weight: 600;
    line-height: 22px;
    margin-bottom: 15px;
}

.paid-btn {
    padding: 16px 45px;
    background: #23BF49;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.paid-btn:hover {
    background: #1ea740;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

.paid-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 16px;
}

.bank-info-text {
    background: #f0f8ff;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 0 0 20px 0;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    border: 1px solid #d0e8ff;
}

.bank-warning {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    color: #d32f2f;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    border: 2px solid #f44336;
    line-height: 1.6;
}
