/**
 * Event Registration with Paystack - Public Styles
 *
 * @package EventRegistrationPaystack
 */

/* CSS Variables for consistent theming */
:root {
    --erp-primary: #df580f;
    --erp-primary-hover: #d75301;
    --erp-secondary: #e86722;
    --erp-success: #00a32a;
    --erp-success-light: #4ab866;
    --erp-error: #dc3545;
    --erp-error-bg: #f8d7da;
    --erp-error-border: #f5c2c7;
    --erp-text-primary: #333;
    --erp-text-secondary: #666;
    --erp-text-light: #999;
    --erp-border: #ddd;
    --erp-border-light: #eee;
    --erp-bg-gray: #f9f9f9;
    --erp-bg-white: #fff;
    --erp-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --erp-shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
    --erp-radius: 8px;
    --erp-radius-small: 5px;
    --erp-transition: all 0.3s ease;
}

/* Progress Indicator Styles */
.erp-progress-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 500px;
    margin: 0 auto 40px;
    padding: 0 20px;
    position: relative;
}

.erp-progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.erp-progress-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--erp-bg-gray);
    border: 2px solid var(--erp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 600;
    color: var(--erp-text-secondary);
    transition: var(--erp-transition);
}

.erp-progress-step-label {
    font-size: 14px;
    color: var(--erp-text-secondary);
    font-weight: 500;
}

.erp-progress-step.active .erp-progress-step-number {
    background: var(--erp-primary);
    border-color: var(--erp-primary);
    color: var(--erp-bg-white);
    box-shadow: 0 0 0 4px rgba(34, 113, 177, 0.1);
}

.erp-progress-step.completed .erp-progress-step-number {
    background: var(--erp-success);
    border-color: var(--erp-success);
    color: var(--erp-bg-white);
}

.erp-progress-step.completed .erp-progress-step-number::after {
    content: "✓";
    font-size: 18px;
    font-weight: bold;
}

.erp-progress-step.active .erp-progress-step-label,
.erp-progress-step.completed .erp-progress-step-label {
    color: var(--erp-text-primary);
    font-weight: 600;
}

.erp-progress-line {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--erp-border);
    z-index: 1;
}

.erp-progress-line-fill {
    height: 100%;
    background: var(--erp-success);
    transition: width 0.5s ease;
    width: 0%;
}

/* Loading Spinner */
.erp-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: erp-spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes erp-spin {
    to { transform: rotate(360deg); }
}

/* Success Checkmark Animation */
.erp-checkmark {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    animation: erp-checkmark-pop 0.3s ease;
}

@keyframes erp-checkmark-pop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Registration Form Styles */
.erp-registration-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.erp-registration-form {
    background: var(--erp-bg-white);
    padding: 40px;
    border-radius: var(--erp-radius);
    box-shadow: var(--erp-shadow);
    transition: var(--erp-transition);
}

.erp-registration-form:hover {
    box-shadow: var(--erp-shadow-hover);
}

.erp-form-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-align: center;
    color: var(--erp-text-primary);
    line-height: 1.3;
}

.erp-form-info {
    background: linear-gradient(to right, rgba(34, 113, 177, 0.05), rgba(34, 113, 177, 0.02));
    padding: 20px;
    border-radius: var(--erp-radius-small);
    margin-bottom: 30px;
    border-left: 4px solid var(--erp-primary);
}

.erp-form-info p {
    margin: 8px 0;
    line-height: 1.6;
}

.erp-form-info p:first-child {
    margin-top: 0;
}

.erp-form-info p:last-child {
    margin-bottom: 0;
}

.erp-highlight {
    color: var(--erp-success);
    font-weight: 700;
    background: rgba(0, 163, 42, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
}

.erp-small-text {
    font-size: 13px;
    color: var(--erp-text-secondary);
    line-height: 1.5;
}

.erp-form-errors {
    background: var(--erp-error-bg);
    color: #721c24;
    padding: 16px 20px;
    border-radius: var(--erp-radius-small);
    margin-bottom: 25px;
    border-left: 4px solid var(--erp-error);
    display: none;
    animation: erp-slide-down 0.3s ease;
}

.erp-form-errors.show {
    display: block;
}

@keyframes erp-slide-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.erp-form-errors::before {
    content: "⚠ ";
    font-size: 18px;
    margin-right: 5px;
}

.erp-form-errors ul {
    margin: 5px 0 0 0;
    padding-left: 25px;
}

.erp-form-errors li {
    margin: 5px 0;
    line-height: 1.5;
}

/* Success Message */
.erp-form-success {
    background: #d4edda;
    color: #155724;
    padding: 16px 20px;
    border-radius: var(--erp-radius-small);
    margin-bottom: 25px;
    border-left: 4px solid var(--erp-success);
    animation: erp-slide-down 0.3s ease;
}

.erp-form-success::before {
    content: "✓ ";
    font-size: 18px;
    font-weight: bold;
    margin-right: 5px;
}

.erp-field {
    margin-bottom: 24px;
}

.erp-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--erp-text-primary);
    font-size: 15px;
}

.erp-required {
    color: var(--erp-error);
    font-weight: 700;
}

.erp-input,
.erp-select,
.erp-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--erp-border);
    border-radius: var(--erp-radius-small);
    font-size: 16px;
    transition: var(--erp-transition);
    box-sizing: border-box;
    font-family: inherit;
    background: var(--erp-bg-white);
}

.erp-input:hover,
.erp-select:hover,
.erp-textarea:hover {
    border-color: rgba(34, 113, 177, 0.4);
}

.erp-input:focus,
.erp-select:focus,
.erp-textarea:focus {
    outline: none;
    border-color: var(--erp-primary);
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.erp-input.error {
    border-color: var(--erp-error);
}

.erp-input.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.erp-field-error {
    color: var(--erp-error);
    font-size: 13px;
    margin-top: 6px;
    display: none;
}

.erp-field-error.show {
    display: block;
    animation: erp-slide-down 0.3s ease;
}

.erp-field-help {
    font-size: 13px;
    color: var(--erp-text-light);
    margin-top: 6px;
    line-height: 1.4;
}

.erp-button {
    padding: 14px 28px;
    border: none;
    border-radius: var(--erp-radius-small);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--erp-transition);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-align: center;
    line-height: 1.5;
}

.erp-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.erp-button:active::before {
    width: 300px;
    height: 300px;
}

.erp-button-primary {
    background: var(--erp-primary);
    color: var(--erp-bg-white) !important;
    border: none;
    box-shadow: 0 2px 8px rgba(34, 113, 177, 0.2);
}

.erp-button-primary:hover {
    background: var(--erp-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}

.erp-button-primary:active {
    transform: translateY(0);
}

.erp-button-secondary {
    background: var(--erp-secondary);
    color: var(--erp-bg-white);
    border: none;
    box-shadow: 0 2px 8px rgba(232, 103, 34, 0.2);
}

.erp-button-secondary:hover {
    background: #d45b1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 103, 34, 0.3);
}

.erp-button-large {
    padding: 18px 36px;
    font-size: 18px;
    width: 100%;
    display: block;
    letter-spacing: 0.5px;
}

.erp-button:disabled,
.erp-button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.erp-button.loading {
    pointer-events: none;
    position: relative;
}

.erp-button.success {
    background: var(--erp-success);
    pointer-events: none;
}

.erp-button.success::after {
    content: '✓';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    animation: erp-checkmark-pop 0.3s ease;
}

/* Payment Page Styles */
.erp-payment-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.erp-payment-wrapper h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--erp-text-primary);
    font-weight: 700;
}

.erp-payment-wrapper > p {
    font-size: 16px;
    color: var(--erp-text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.erp-payment-intro {
    background: linear-gradient(to right, rgba(34, 113, 177, 0.05), rgba(34, 113, 177, 0.02));
    padding: 20px;
    border-radius: var(--erp-radius);
    margin-bottom: 30px;
    border-left: 4px solid var(--erp-primary);
}

.erp-payment-intro p {
    margin: 0;
    font-size: 16px;
    color: var(--erp-text-primary);
}

.erp-payment-intro strong {
    color: var(--erp-primary);
}

.erp-payment-summary {
    background: var(--erp-bg-white);
    border: 2px solid var(--erp-border);
    border-radius: var(--erp-radius);
    margin: 30px 0;
    overflow: hidden;
    box-shadow: var(--erp-shadow);
}

.erp-payment-table {
    width: 100%;
    border-collapse: collapse;
}

.erp-payment-table th,
.erp-payment-table td {
    padding: 18px 20px;
    text-align: left;
    font-size: 15px;
}

.erp-payment-table thead {
    background: var(--erp-bg-gray);
    border-bottom: 2px solid var(--erp-border);
}

.erp-payment-table thead th {
    font-weight: 700;
    color: var(--erp-text-primary);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.erp-payment-table tbody tr {
    border-bottom: 1px solid var(--erp-border-light);
    transition: background 0.2s ease;
}

.erp-payment-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

.erp-payment-table tbody tr:last-child {
    border-bottom: none;
}

.erp-payment-table th:last-child,
.erp-payment-table td:last-child {
    text-align: right;
}

.erp-payment-table .erp-total-row {
    background: var(--erp-bg-gray);
    font-size: 20px;
    border-top: 3px solid var(--erp-primary);
}

.erp-payment-table .erp-total-row:hover {
    background: var(--erp-bg-gray);
}

.erp-payment-table .erp-total-row td {
    padding: 20px;
}

.erp-payment-table .erp-small {
    display: block;
    font-size: 11px;
    color: var(--erp-success);
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 4px;
}

.erp-payment-form {
    text-align: center;
    margin-top: 40px;
}

.erp-trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--erp-border-light);
}

.erp-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--erp-text-secondary);
}

.erp-trust-badge::before {
    content: '🔒';
    font-size: 16px;
}

.erp-trust-badge.secure::before {
    content: '🔒';
}

.erp-trust-badge.verified::before {
    content: '✓';
    background: var(--erp-success);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.erp-paystack-badge {
    margin-top: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.erp-paystack-badge:hover {
    opacity: 1;
}

.erp-paystack-badge img {
    max-width: 180px;
    height: auto;
}

.erp-secure-notice {
    background: rgba(0, 163, 42, 0.05);
    border: 1px solid rgba(0, 163, 42, 0.2);
    border-radius: var(--erp-radius-small);
    padding: 12px 16px;
    margin-top: 20px;
    font-size: 13px;
    color: var(--erp-success);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.erp-secure-notice::before {
    content: '🔒';
    font-size: 16px;
}

.erp-payment-success {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    background: var(--erp-bg-white);
    border-radius: var(--erp-radius);
    box-shadow: var(--erp-shadow);
}

.erp-success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--erp-success) 0%, var(--erp-success-light) 100%);
    color: var(--erp-bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    margin: 0 auto 30px;
    box-shadow: 0 8px 20px rgba(0, 163, 42, 0.3);
    animation: erp-success-bounce 0.6s ease;
}

@keyframes erp-success-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.erp-payment-success h2 {
    color: var(--erp-success);
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 700;
}

.erp-payment-success p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--erp-text-secondary);
    margin: 15px 0;
}

.erp-payment-success p strong {
    color: var(--erp-text-primary);
    font-weight: 700;
}

.erp-reference-code {
    background: var(--erp-bg-gray);
    padding: 15px 20px;
    border-radius: var(--erp-radius-small);
    margin: 25px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--erp-primary);
    letter-spacing: 1px;
}

.erp-payment-success .erp-button {
    margin-top: 30px;
}

/* Check-in Interface Styles */
.erp-checkin-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.erp-checkin-wrapper h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--erp-text-primary);
    text-align: center;
    font-weight: 700;
}

.erp-checkin-details {
    background: var(--erp-bg-white);
    padding: 40px;
    border-radius: var(--erp-radius);
    box-shadow: var(--erp-shadow);
}

.erp-checkin-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.erp-checkin-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--erp-border-light);
}

.erp-checkin-table tr:last-child td {
    border-bottom: none;
}

.erp-checkin-table td:first-child {
    width: 40%;
    color: var(--erp-text-secondary);
    font-weight: 500;
}

.erp-checkin-table td:last-child {
    font-weight: 600;
    color: var(--erp-text-primary);
}

.erp-status {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.erp-status-checked-in {
    background: var(--erp-success);
    color: var(--erp-bg-white);
    box-shadow: 0 2px 8px rgba(0, 163, 42, 0.2);
}

.erp-status-pending {
    background: #f0f0f1;
    color: var(--erp-text-secondary);
}

.erp-status-paid {
    background: var(--erp-primary);
    color: var(--erp-bg-white);
    box-shadow: 0 2px 8px rgba(34, 113, 177, 0.2);
}

.erp-status-unpaid {
    background: #ffc107;
    color: #333;
}

.erp-checkin-action {
    text-align: center;
    padding: 30px 0 10px;
}

.erp-checkin-complete {
    text-align: center;
    padding: 40px;
    background: linear-gradient(to bottom, #f0f9f4, #e8f5e9);
    border-radius: var(--erp-radius);
    border: 2px solid var(--erp-success);
    box-shadow: 0 4px 12px rgba(0, 163, 42, 0.1);
}

.erp-checkin-complete .erp-success-icon {
    margin: 0 auto 20px;
}

.erp-checkin-complete h3 {
    color: var(--erp-success);
    margin-bottom: 10px;
    font-size: 24px;
}

.erp-payment-required {
    text-align: center;
    padding: 40px;
    background: linear-gradient(to bottom, #fff8e1, #fff3cd);
    border-radius: var(--erp-radius);
    border: 2px solid #ffc107;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
    margin-top: 30px;
}

.erp-payment-required-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.erp-payment-required p {
    margin: 10px 0;
    line-height: 1.6;
}

.erp-payment-required p:first-of-type {
    font-size: 20px;
    font-weight: 700;
    color: #856404;
    margin-top: 0;
}

.erp-payment-required .erp-small-text {
    font-size: 14px;
    color: #856404;
    margin-top: 15px;
    font-style: italic;
}

.erp-error {
    background: var(--erp-error-bg);
    color: #721c24;
    padding: 20px 25px;
    border-radius: var(--erp-radius-small);
    border-left: 4px solid var(--erp-error);
    text-align: center;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.1);
}

.erp-error::before {
    content: '⚠ ';
    font-size: 20px;
    margin-right: 8px;
}

.erp-error p {
    margin: 0;
    line-height: 1.5;
}

.erp-error .erp-button {
    margin-top: 10px;
    display: inline-block;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .erp-registration-form,
    .erp-checkin-details {
        padding: 25px;
    }
    
    .erp-form-title {
        font-size: 24px;
    }
    
    .erp-payment-wrapper h2,
    .erp-checkin-wrapper h2 {
        font-size: 26px;
    }
    
    .erp-progress-indicator {
        padding: 0 10px;
        margin-bottom: 30px;
    }
    
    .erp-progress-step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .erp-progress-step-label {
        font-size: 12px;
    }
    
    .erp-payment-table th,
    .erp-payment-table td {
        padding: 14px 12px;
        font-size: 14px;
    }
    
    .erp-payment-table .erp-total-row {
        font-size: 18px;
    }
    
    .erp-checkin-table td {
        padding: 14px 12px;
        font-size: 14px;
    }
    
    .erp-checkin-table td:first-child {
        width: 35%;
    }
    
    .erp-button-large {
        padding: 16px 28px;
        font-size: 17px;
    }
    
    .erp-trust-badges {
        flex-direction: column;
        gap: 10px;
    }
    
    .erp-payment-success,
    .erp-checkin-complete,
    .erp-payment-required {
        padding: 30px 20px;
    }
    
    .erp-payment-required-icon {
        width: 70px;
        height: 70px;
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .erp-registration-wrapper,
    .erp-payment-wrapper,
    .erp-checkin-wrapper {
        padding: 10px;
    }
    
    .erp-registration-form,
    .erp-checkin-details {
        padding: 20px;
    }
    
    .erp-form-title {
        font-size: 22px;
    }
    
    .erp-payment-wrapper h2,
    .erp-checkin-wrapper h2 {
        font-size: 24px;
    }
    
    .erp-progress-step-label {
        font-size: 11px;
    }
    
    .erp-payment-table th,
    .erp-payment-table td,
    .erp-checkin-table td {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .erp-payment-table .erp-total-row {
        font-size: 16px;
    }
    
    .erp-button-large {
        padding: 15px 24px;
        font-size: 16px;
    }
    
    .erp-success-icon {
        width: 80px;
        height: 80px;
        font-size: 44px;
    }
    
    .erp-payment-required-icon {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
    
    .erp-payment-required p:first-of-type {
        font-size: 18px;
    }
    
    .erp-payment-success h2 {
        font-size: 26px;
    }
    
    .erp-field {
        margin-bottom: 20px;
    }
    
    .erp-input,
    .erp-select,
    .erp-textarea {
        padding: 12px 14px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Check-in Manual Form Styles */
.erp-checkin-manual-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 32px;
    background: var(--erp-bg-white);
    border: 1px solid var(--erp-border-light);
    border-radius: var(--erp-radius);
    box-shadow: var(--erp-shadow);
}

.erp-checkin-intro {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--erp-border-light);
}

.erp-checkin-intro p {
    color: var(--erp-text-secondary);
    line-height: 1.6;
}

#erp-checkin-errors {
    margin-bottom: 20px;
}

#erp-manual-reference {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    font-family: 'Courier New', Courier, monospace;
}

#erp-manual-reference::placeholder {
    font-weight: 400;
    letter-spacing: normal;
    font-family: inherit;
}

.erp-checkin-manual-form .erp-field-help {
    text-align: center;
}

.erp-checkin-manual-form .erp-button-large {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

/* QR Code Display Styles */
.erp-qrcode-container {
    margin-top: 32px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.erp-qrcode-container h3 {
    margin: 0 0 8px 0;
    color: #2c3e50;
}

.erp-qrcode-container p {
    margin: 0 0 16px 0;
    color: #666;
    font-size: 14px;
}

.erp-qrcode-wrapper {
    display: inline-block;
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.erp-qrcode-image {
    display: block;
    width: 280px;
    height: 280px;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.erp-download-qrcode {
    display: inline-block;
    padding: 12px 32px;
    background: #27ae60;
    color: #ffffff !important;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: none;
}

.erp-download-qrcode:hover {
    background: #229954;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.erp-download-qrcode:active {
    transform: translateY(0);
}

.erp-download-qrcode:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    opacity: 0.6;
}

.erp-download-qrcode.downloading {
    background: #95a5a6;
    cursor: wait;
}

.erp-download-qrcode.downloading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% {
        content: '';
    }
    40% {
        content: '.';
    }
    60% {
        content: '..';
    }
    80%, 100% {
        content: '...';
    }
}

.erp-qrcode-notice {
    margin-top: 24px;
    padding: 16px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    text-align: center;
}

.erp-qrcode-notice p {
    margin: 0;
    color: #856404;
    font-size: 14px;
}

/* Responsive QR Code Styles */
@media (max-width: 768px) {
    .erp-qrcode-container {
        padding: 20px 16px;
    }
    
    .erp-qrcode-wrapper {
        padding: 12px;
    }
    
    .erp-qrcode-image {
        width: 240px;
        height: 240px;
    }
    
    .erp-download-qrcode {
        width: 100%;
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .erp-qrcode-image {
        width: 200px;
        height: 200px;
    }
    
    .erp-qrcode-container h3 {
        font-size: 16px;
    }
}

/* Print Styles */
@media print {
    .erp-button,
    .erp-payment-form,
    .erp-checkin-action {
        display: none;
    }
    
    .erp-payment-success,
    .erp-checkin-complete {
        box-shadow: none;
        border: 2px solid #000;
    }
}
