/* Payment Proof Form Styles */
.payment-proof-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="file"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group small {
    color: #666;
    font-style: italic;
}

.submit-btn {
    background: #007cba;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.submit-btn:hover {
    background: #005a87;
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

/* PMPro Orders Grid - Professional & Aesthetic Styles */
.pmpro-orders-grid {
    padding: 30px;
    background: none;
    min-height: 100vh;
}

.pmpro-orders-grid .admin-filters {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pmpro-orders-grid .admin-filters h3 {
    margin: 0 0 20px 0;
    color: #2d3748;
    font-size: 1.5em;
    font-weight: 600;
}

.pmpro-orders-grid .filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.pmpro-orders-grid .filter-group {
    flex: 1;
    min-width: 180px;
}

.pmpro-orders-grid .filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a5568;
    font-size: 14px;
}

.pmpro-orders-grid .filter-group input,
.pmpro-orders-grid .filter-group select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.pmpro-orders-grid .filter-group input:focus,
.pmpro-orders-grid .filter-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.pmpro-orders-grid .filter-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pmpro-orders-grid .filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.order-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: fit-content;
    position: relative;
    overflow: hidden;
}

.order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.order-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f7fafc;
    gap: 12px;
}

.order-card .card-header h4 {
    margin: 0;
    color: #2d3748;
    font-size: 15px;
    font-weight: 600;
    word-break: break-all;
    flex: 1;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

.order-card .status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-success { 
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.status-pending { 
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.status-error { 
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.status-refunded { 
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.status-review { 
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.order-card .card-body {
    flex: 1;
    margin-bottom: 20px;
}

.order-card .card-body p {
    margin: 8px 0;
    font-size: 13px;
    line-height: 1.4;
    color: #4a5568;
    display: flex;
    align-items: flex-start;
}

.order-card .card-body strong {
    color: #2d3748;
    font-weight: 600;
    min-width: 70px;
    margin-right: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notes-content {
    font-style: italic;
    color: #718096;
    font-size: 12px;
    line-height: 1.4;
    background: #f7fafc;
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid #667eea;
    margin-top: 4px;
}

.file-link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.file-link:hover {
    background: rgba(102, 126, 234, 0.2);
    text-decoration: none;
    transform: translateY(-1px);
}

.order-card .card-actions {
    margin-top: auto;
    padding-top: 20px;
    border-top: 2px solid #f7fafc;
}

.order-card .status-controls {
    margin-bottom: 16px;
}

.order-card .status-controls label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 12px;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status-select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.order-status-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.update-order-status-btn {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.update-order-status-btn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.update-order-status-btn:disabled {
    background: #cbd5e0;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.page-number {
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    text-decoration: none;
    color: #667eea;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: white;
}

.page-number:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.page-number.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

/* Responsive Design for Professional Grid */
@media (max-width: 1400px) {
    .orders-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .orders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .pmpro-orders-grid {
        padding: 20px;
    }
    
    .orders-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .pmpro-orders-grid .filter-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .pmpro-orders-grid .filter-group {
        min-width: 100%;
    }
    
    .order-card {
        padding: 20px;
    }
    
    .order-card .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .order-card .card-header h4 {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .pmpro-orders-grid {
        padding: 15px;
    }
    
    .pmpro-orders-grid .admin-filters {
        padding: 20px;
    }
    
    .order-card {
        padding: 16px;
    }
    
    .order-card .card-body p {
        font-size: 12px;
    }
    
    .order-card .card-body strong {
        min-width: 60px;
        font-size: 11px;
    }
}



/* Bulk Actions Styles */
.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.bulk-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bulk-btn {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #4a5568;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.bulk-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.bulk-btn.delete-btn {
    background: #f56565;
    color: white;
    border-color: #f56565;
}

.bulk-btn.delete-btn:hover {
    background: #e53e3e;
    border-color: #e53e3e;
}

/* Proof Checkbox Styles */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.proof-checkbox-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.proof-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.proof-checkbox-container label {
    font-size: 11px;
    color: #718096;
    cursor: pointer;
    font-weight: 500;
    margin: 0;
}

.no-proof {
    color: #a0aec0;
    font-style: italic;
    font-size: 12px;
    background: #f7fafc;
    padding: 6px 10px;
    border-radius: 6px;
    text-align: center;
}




/* Bulk Actions Section */
.bulk-actions-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.bulk-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.bulk-btn {
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #4a5568;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.bulk-btn:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
}

.bulk-btn.delete-btn {
    background: #f56565;
    color: white;
    border-color: #f56565;
}

.bulk-btn.delete-btn:hover {
    background: #e53e3e;
    border-color: #e53e3e;
    transform: translateY(-1px);
}

.selected-count {
    font-size: 14px;
    color: #4a5568;
    font-weight: 600;
    background: #f7fafc;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* Order Checkbox Styles */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.order-checkbox-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.order-checkbox-container label {
    font-size: 11px;
    color: #718096;
    cursor: pointer;
    font-weight: 500;
    margin: 0;
}

.no-proof {
    color: #a0aec0;
    font-style: italic;
    font-size: 12px;
    background: #f7fafc;
    padding: 6px 10px;
    border-radius: 6px;
    text-align: center;
}

/* Responsive Bulk Actions */
@media (max-width: 768px) {
    .bulk-actions-section {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .bulk-actions {
        justify-content: center;
    }
    
    .selected-count {
        order: -1;
        margin-bottom: 10px;
    }
}





/* Card Top Section with Select Checkbox */
.card-top-section {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f7fafc;
}

.order-checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid #cbd5e0;
    transition: all 0.3s ease;
}

.order-checkbox:checked {
    background: #667eea;
    border-color: #667eea;
}

.order-checkbox-container label {
    font-size: 12px;
    color: #4a5568;
    cursor: pointer;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Remove old header-left styles since we moved the checkbox */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 12px;
}

.card-header h4 {
    margin: 0;
    color: #2d3748;
    font-size: 15px;
    font-weight: 600;
    word-break: break-all;
    flex: 1;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}