/*
 Theme Name:   Industrie Child
 Theme URI:    https://demo.rstheme.com/wordpress/industrie/
 Description:  Industrie Child
 Author:       RSTheme
 Author URI:   http://rstheme.com
 Template:     industrie
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 */
 
 /* Payment Confirmation Styles */
.payment-confirmation-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
}

.spinner {
    border: 4px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top: 4px solid #28a745;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.payment-success {
    padding: 1rem;
}

.payment-success h2 {
    color: #28a745;
    text-align: center;
    margin-bottom: 1.5rem;
}

.recharge-code {
    background: #f0fff0;
    border: 2px dashed #28a745;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
}

.recharge-code h3 {
    margin-top: 0;
    color: #2c3e50;
}

.code-box {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 1rem 0;
    color: #218838;
}

.copy-btn {
    background: #000000;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

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

.customer-details {
    margin: 2rem 0;
}

.detail-row {
    display: flex;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.detail-label {
    font-weight: bold;
    min-width: 150px;
    color: #2c3e50;
}

.more-details-toggle {
    color: #0073aa;
    cursor: pointer;
    margin: 1rem 0;
    font-weight: bold;
}

.more-details {
    display: none;
    padding-top: 1rem;
}

.actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.print-btn, .back-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    flex: 1;
}

.print-btn {
    background: #2c3e50;
    color: white;
}

.back-btn {
    background: #6c757d;
    color: white;
}

.payment-error {
    background: #fdf3f3;
    border: 1px solid #f0d6d6;
    padding: 2rem;
    border-radius: 8px;
    color: #d63638;
    text-align: center;
}



@media print {
    .actions, .more-details-toggle {
        display: none;
    }
    .more-details {
        display: block;
    }
}
/* Payment Confirmation Styles */
.payment-confirmation-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

/* Loading State */
.loading-spinner {
    text-align: center;
    padding: 3rem;
}
.spinner {
    border: 5px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top: 5px solid #28a745;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No Reference State */
.no-reference {
    text-align: center;
    padding: 2rem;
}
.no-reference .icon {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

/* Success State */
.payment-success {
    animation: fadeIn 0.5s ease;
}
.success-header {
    text-align: center;
    margin-bottom: 2rem;
}
.success-header i {
    color: #28a745;
    font-size: 3rem;
}

.success-header small {
    color: #6c757d;
    font-size: 0.9rem;
}

.recharge-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.recharge-code {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #218838;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.copy-btn {
    background: #e9ecef;
    border: none;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}
.copy-btn:hover {
    background: #dee2e6;
}
.sms-notice {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.detail-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
}
.detail-label {
    font-weight: bold;
    color: #495057;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}
.detail-value {
    color: #212529;
    font-size: 1.1rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.return-btn, .print-btn, .retry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    flex: 1;
    text-align: center;
}
.return-btn {
    background: #6c757d;
    color: white;
    border: none;
    cursor: pointer;
}
.print-btn {
    background: #17a2b8;
    color: white;
    border: none;
    cursor: pointer;
}
.retry-btn {
    background: #ffc107;
    color: #212529;
    border: none;
    cursor: pointer;
}

/* Error State */
.payment-error {
    animation: fadeIn 0.5s ease;
    text-align: center;
    padding: 2rem;
}
.error-header i {
    color: #dc3545;
    font-size: 3rem;
}

.payment-error p {
    color: #212529;
    margin-bottom: 1.5rem;
}
.reference {
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    display: inline-block;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Two-column layout */
.details-columns {
    display: flex;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.column {
    flex: 1;
    min-width: 300px;
    padding: 0 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.detail-label {
    font-weight: bold;
    color: #495057;
}

.detail-value {
    color: #212529;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .column {
        min-width: 100%;
        padding: 0;
    }
}

