/* General Styles */
.wc-c2c-payment-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid #e9ecef;
}

.c2c-info-box {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-right: 4px solid #2271b1;
}

.c2c-info-box h4 {
    margin-top: 0;
    color: #1d2327;
    font-size: 16px;
}

.c2c-cards-list {
    margin: 20px 0;
}

.c2c-cards-list h4 {
    margin-bottom: 15px;
    color: #1d2327;
    font-size: 14px;
}

.c2c-card-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.c2c-card-item:hover {
    border-color: #2271b1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-number-wrapper {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.card-number {
    font-size: 18px;
    font-weight: bold;
    color: #2271b1;
    letter-spacing: 1px;
    direction: ltr;
    display: inline-block;
    padding: 5px 10px;
    background: #f0f6fc;
    border-radius: 4px;
}

.copy-hint {
    font-size: 11px;
    color: #646970;
    margin-top: 4px;
}

.copy-card-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #2271b1 !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    cursor: pointer;
    transition: background 0.2s;
}

.copy-card-btn:hover {
    background: #135e96 !important;
}

.copy-card-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
}

.c2c-instructions {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #ccc;
}

.c2c-instructions .description {
    color: #646970;
    font-size: 13px;
    line-height: 1.6;
}

/* Thank You Page Styles */
.wc-c2c-thankyou {
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.wc-c2c-tracking-code {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}

.wc-c2c-tracking-code h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    opacity: 0.9;
}

.tracking-code-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tracking-code-box code {
    font-size: 24px;
    font-weight: bold;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 6px;
    color: #fff;
    direction: ltr;
}

.copy-btn {
    background: #fff !important;
    color: #667eea !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.copy-btn:hover {
    transform: translateY(-2px);
}

.copy-btn.copied {
    background: #46b450 !important;
    color: #fff !important;
}

.wc-c2c-cards {
    margin: 25px 0;
}

.wc-c2c-cards h3 {
    color: #1d2327;
    margin-bottom: 15px;
    font-size: 18px;
}

.card-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bank-name {
    font-weight: bold;
    color: #2271b1;
    font-size: 14px;
}

.card-holder {
    color: #646970;
    font-size: 13px;
}

.wc-c2c-upload-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px dashed #e9ecef;
}

.wc-c2c-upload-section h3 {
    color: #1d2327;
    margin-bottom: 10px;
}

.upload-wrapper {
    position: relative;
    margin: 20px 0;
}

#receipt-file {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 20px;
    border: 2px dashed #2271b1;
    border-radius: 8px;
    background: #f0f6fc;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.upload-label:hover {
    background: #c5d9ed;
    border-color: #135e96;
}

.upload-label .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #2271b1;
}

.file-name {
    display: block;
    margin-top: 10px;
    color: #2271b1;
    font-weight: bold;
}

#wc-c2c-receipt-form button[type="submit"] {
    width: 100%;
    padding: 15px !important;
    font-size: 16px;
    margin-top: 15px;
}

.upload-status {
    margin-top: 15px;
    padding: 15px;
    border-radius: 6px;
    display: none;
}

.upload-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.upload-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.uploaded-receipt {
    margin-top: 20px;
    padding: 15px;
    background: #d4edda;
    border-radius: 6px;
    border: 1px solid #c3e6cb;
}

/* Admin Styles */
.wc-c2c-admin-box {
    padding: 10px;
}

.wc-c2c-admin-box code {
    display: inline-block;
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 600px) {
    .c2c-card-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .tracking-code-box {
        flex-direction: column;
    }
    
    .card-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}