/* Public Styles for Instant PAN Plugin */
.ipp-pan-form-container, .ipp-user-dashboard, .ipp-hit-request-container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Header Styles */
.ipp-welcome-section {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

.ipp-welcome-section h2 {
    margin: 0 0 15px 0;
    color: #23282d;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.ipp-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 400;
}

/* User Info Bar */
.ipp-user-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 5px solid #0073aa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ipp-user-info p {
    margin: 0;
    flex: 1;
    font-weight: 500;
    color: #23282d;
}

.ipp-user-info .button, .ipp-user-info .ipp-buy-hits-btn {
    white-space: nowrap;
    margin-left: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Buy Hits Button - Enhanced Design with Animation */
.ipp-buy-hits-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff !important;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(247, 147, 30, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ipp-buy-hits-btn:hover {
    background: linear-gradient(135deg, #f7931e, #ff6b35);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 25px rgba(247, 147, 30, 0.6);
}

.ipp-buy-hits-btn:active {
    transform: translateY(-1px) scale(1.01);
}

/* Pulse Animation */
.ipp-buy-hits-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    animation: pulse 2s infinite;
}

/* Shimmer Effect */
.ipp-buy-hits-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.ipp-buy-hits-btn:hover::after {
    left: 100%;
}

/* Pulse Animation Keyframes */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 147, 30, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(247, 147, 30, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(247, 147, 30, 0);
    }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.ipp-buy-hits-btn.bounce {
    animation: bounce 1s;
}

.ipp-buy-hits-btn .dashicons {
    margin-right: 10px;
    vertical-align: text-bottom;
    font-size: 20px;
}

/* Glowing Effect */
.ipp-buy-hits-glow {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(247, 147, 30, 0.4);
    }
    to {
        box-shadow: 0 0 20px rgba(247, 147, 30, 0.8), 0 0 30px rgba(247, 147, 30, 0.6);
    }
}

/* Form Styles */
.ipp-form {
    margin-top: 20px;
}

.ipp-form-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

.ipp-form-section:last-child {
    border-bottom: none;
}

.ipp-form-section h3 {
    margin: 0 0 25px 0;
    color: #23282d;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.ipp-form-section h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0073aa, #005177);
    border-radius: 2px;
}

.ipp-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.ipp-form-group {
    display: flex;
    flex-direction: column;
}

.ipp-form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #23282d;
    font-size: 1rem;
}

.ipp-form-group input,
.ipp-form-group select,
.ipp-form-group textarea {
    padding: 14px 16px;
    border: 2px solid #e2e4e7;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.ipp-form-group input:focus,
.ipp-form-group select:focus,
.ipp-form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.15);
}

/* Disabled form elements styling */
.ipp-form-group input:disabled,
.ipp-form-group select:disabled,
.ipp-form-group textarea:disabled {
    background-color: #f8f9fa;
    color: #999;
    cursor: not-allowed;
    border-color: #ddd;
}

.ipp-form-group small {
    margin-top: 6px;
    color: #666;
    font-size: 0.85rem;
}

/* Submit Button */
.ipp-form-submit {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.ipp-submit-btn {
    background: linear-gradient(135deg, #0073aa, #005177);
    color: #fff;
    padding: 16px 35px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 250px;
    box-shadow: 0 4px 15px rgba(0,115,170,0.3);
}

.ipp-submit-btn:hover {
    background: linear-gradient(135deg, #005177, #003d5c);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,115,170,0.4);
}

.ipp-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    background: linear-gradient(135deg, #cccccc, #999999);
    box-shadow: none;
}

.ipp-submit-btn .ipp-submit-loading {
    display: none;
}

.ipp-submit-btn.processing .ipp-submit-text {
    display: none;
}

.ipp-submit-btn.processing .ipp-submit-loading {
    display: inline-block;
}

/* Messages and Alerts */
.ipp-warning, .ipp-error, .ipp-result {
    padding: 20px 25px;
    border-radius: 12px;
    margin: 25px 0;
    font-size: 1rem;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ipp-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.ipp-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ipp-result.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ipp-result.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* User Dashboard Styles */
.ipp-user-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.ipp-stat-card {
    background: linear-gradient(135deg, #f8f9fa, #fff);
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ipp-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.ipp-remaining-card {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-color: #2196f3;
}

.ipp-stat-icon {
    font-size: 2.8rem;
    margin-right: 25px;
    opacity: 0.8;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 115, 170, 0.1);
}

.ipp-stat-content h3 {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #23282d;
}

.ipp-stat-content p {
    margin: 0;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

.ipp-status-approved {
    color: #155724 !important;
}

.ipp-status-pending {
    color: #856404 !important;
}

.ipp-remaining {
    color: #0073aa !important;
}

/* Action Buttons */
.ipp-dashboard-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    justify-content: center;
    flex-wrap: wrap;
}

.ipp-action-btn {
    padding: 16px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 250px;
    justify-content: center;
}

.ipp-btn-icon {
    font-size: 1.4rem;
}

.ipp-action-btn.ipp-primary {
    background: linear-gradient(135deg, #0073aa, #005177);
    color: #fff;
}

.ipp-action-btn.ipp-primary:hover {
    background: linear-gradient(135deg, #005177, #003d5c);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,115,170,0.3);
}

.ipp-action-btn.ipp-secondary {
    background: linear-gradient(135deg, #6c757d, #545b62);
    color: #fff;
}

.ipp-action-btn.ipp-secondary:hover {
    background: linear-gradient(135deg, #545b62, #495057);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108,117,125,0.3);
}

.ipp-action-btn.ipp-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
}

.ipp-action-btn.ipp-success:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40,167,69,0.3);
}

/* Status Notices */
.ipp-pending-notice,
.ipp-rejected-notice {
    background: #fff3cd;
    color: #856404;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #ffeaa7;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.ipp-rejected-notice {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.ipp-notice-icon {
    font-size: 3.5rem;
    opacity: 0.8;
}

.ipp-notice-content h3 {
    margin: 0 0 12px 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.ipp-notice-content p {
    margin: 0;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Dashboard Sections */
.ipp-dashboard-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.ipp-section {
    background: #fff;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.ipp-section-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px 30px;
    border-bottom: 1px solid #dee2e6;
}

.ipp-section-header h3 {
    margin: 0;
    color: #23282d;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ipp-section-icon {
    font-size: 1.5rem;
}

.ipp-table-container {
    padding: 30px;
    overflow-x: auto;
}

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

.ipp-table th,
.ipp-table td {
    padding: 18px 15px;
    text-align: left;
    border-bottom: 1px solid #e2e4e7;
}

.ipp-table th {
    background: #f1f3f4;
    font-weight: 700;
    color: #23282d;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ipp-table tr:hover {
    background: #f8f9fa;
}

.ipp-applicant-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ipp-applicant-info small {
    color: #666;
    font-size: 0.85rem;
}

.ipp-txn-id,
.ipp-token {
    background: #e9ecef;
    padding: 5px 10px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #495057;
    display: inline-block;
}

.ipp-view-all {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    margin-top: 20px;
}

.ipp-link {
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ipp-link:hover {
    color: #005177;
}

.ipp-empty-state {
    text-align: center;
    padding: 50px 30px;
    color: #666;
}

.ipp-empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.6;
}

.ipp-empty-state h4 {
    margin: 0 0 15px 0;
    color: #23282d;
    font-size: 1.3rem;
}

.ipp-empty-state p {
    margin: 0;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Status Badges */
.ipp-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.ipp-status-completed {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.ipp-action {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.ipp-action-credit {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ipp-action-debit {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Hit Request Form Styles */
.ipp-hit-request-container h3 {
    margin: 0 0 25px 0;
    color: #23282d;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.ipp-purchase-option {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e4e7;
    text-align: center;
}

.ipp-purchase-option h4 {
    color: #23282d;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.ipp-purchase-option p {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    color: #666;
}

.ipp-no-data {
    text-align: center;
    color: #666;
    padding: 30px;
    font-size: 1.1rem;
}

/* Application Status Page Styles */
.ipp-application-status-container h3 {
    margin: 0 0 20px 0;
    color: #23282d;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.ipp-application-status-container p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.ipp-status-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.ipp-status-details h4 {
    margin: 0 0 25px 0;
    color: #23282d;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.ipp-status-details h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0073aa, #005177);
    border-radius: 2px;
}

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

.ipp-status-table tr {
    border-bottom: 1px solid #e2e4e7;
}

.ipp-status-table tr:last-child {
    border-bottom: none;
}

.ipp-status-table td {
    padding: 18px 15px;
    vertical-align: top;
}

.ipp-status-table td:first-child {
    width: 40%;
    font-weight: 600;
    color: #23282d;
}

.ipp-status-table td:last-child {
    width: 60%;
    color: #495057;
}

.ipp-status-success {
    background: #d1ecf1;
    color: #0c5460;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    border: 1px solid #bee5eb;
}

.ipp-status-pending {
    background: #fff3cd;
    color: #856404;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    border: 1px solid #ffeaa7;
}

.ipp-status-failed {
    background: #f8d7da;
    color: #721c24;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    border: 1px solid #f5c6cb;
}

.ipp-status-unknown {
    background: #e2e3e5;
    color: #41464b;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    border: 1px solid #d3d6d8;
}

.ipp-status-actions {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e4e7;
}

.ipp-btn-secondary {
    background: linear-gradient(135deg, #6c757d, #545b62);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(108,117,125,0.2);
}

.ipp-btn-secondary:hover {
    background: linear-gradient(135deg, #545b62, #495057);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(108,117,125,0.3);
}

.ipp-btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    background: linear-gradient(135deg, #cccccc, #999999);
    box-shadow: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .ipp-dashboard-sections {
        grid-template-columns: 1fr;
    }
    
    .ipp-section {
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .ipp-pan-form-container, .ipp-user-dashboard, .ipp-hit-request-container {
        padding: 20px 15px;
        margin: 20px 10px;
        border-radius: 12px;
    }
    
    .ipp-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ipp-user-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ipp-stat-card {
        padding: 25px 20px;
    }
    
    .ipp-stat-icon {
        font-size: 2.2rem;
        margin-right: 20px;
        width: 70px;
        height: 70px;
    }
    
    .ipp-stat-content h3 {
        font-size: 2rem;
    }
    
    .ipp-dashboard-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .ipp-action-btn {
        width: 100%;
        max-width: 350px;
        padding: 14px 25px;
        font-size: 1rem;
    }
    
    .ipp-section-header {
        padding: 20px 25px;
    }
    
    .ipp-table-container {
        padding: 20px 15px;
    }
    
    .ipp-table th,
    .ipp-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .ipp-pending-notice,
    .ipp-rejected-notice {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px;
    }
    
    .ipp-notice-icon {
        font-size: 3rem;
    }
    
    .ipp-user-info {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }
    
    .ipp-user-info .button, .ipp-user-info .ipp-buy-hits-btn {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .ipp-buy-hits-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .ipp-submit-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
        min-width: auto;
    }
    
    .ipp-welcome-section h2 {
        font-size: 1.8rem;
    }
    
    .ipp-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .ipp-stat-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
    }
    
    .ipp-stat-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .ipp-form-group input,
    .ipp-form-group select,
    .ipp-form-group textarea {
        font-size: 16px; /* Prevents zoom on mobile */
        padding: 12px 14px;
    }
    
    .ipp-empty-state {
        padding: 40px 20px;
    }
    
    .ipp-empty-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .ipp-empty-state h4 {
        font-size: 1.2rem;
    }
    
    .ipp-empty-state p {
        font-size: 1rem;
    }
}

/* Responsive Design for Status Page */
@media (max-width: 768px) {
    .ipp-status-table {
        display: block;
    }
    
    .ipp-status-table tr {
        display: block;
        margin-bottom: 15px;
        border-bottom: 1px solid #e2e4e7;
        padding-bottom: 15px;
    }
    
    .ipp-status-table tr:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    
    .ipp-status-table td {
        display: block;
        width: 100% !important;
        padding: 8px 0;
    }
    
    .ipp-status-table td:first-child {
        font-weight: 700;
        border-bottom: none;
    }
    
    .ipp-status-details {
        padding: 20px 15px;
    }
    
    .ipp-status-details h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .ipp-application-status-container h3 {
        font-size: 1.5rem;
    }
    
    .ipp-application-status-container p {
        font-size: 1rem;
    }
    
    .ipp-status-table td {
        font-size: 0.9rem;
    }
}

/* PAN Response Page Styles */
.ipp-pan-response-container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.ipp-pan-response-container h3 {
    margin: 0 0 25px 0;
    color: #23282d;
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.ipp-pan-response-container h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0073aa, #005177);
    border-radius: 2px;
}

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

.ipp-response-table tr {
    border-bottom: 1px solid #e2e4e7;
}

.ipp-response-table tr:last-child {
    border-bottom: none;
}

.ipp-response-table td {
    padding: 18px 15px;
    vertical-align: top;
}

.ipp-response-table td:first-child {
    width: 40%;
    font-weight: 600;
    color: #23282d;
}

.ipp-response-table td:last-child {
    width: 60%;
    color: #495057;
}

.ipp-api-response-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    border: 1px solid #e9ecef;
}

.ipp-api-response-section h4 {
    margin: 0 0 20px 0;
    color: #23282d;
    font-size: 1.2rem;
    font-weight: 700;
}

.ipp-api-response-content {
    background: #fff;
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.ipp-api-response-pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #23282d;
}

.ipp-response-actions {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #e9ecef;
}

.ipp-response-actions .ipp-btn-secondary {
    margin: 0 10px;
    display: inline-block;
}

/* Responsive Design for Response Page */
@media (max-width: 768px) {
    .ipp-pan-response-container {
        padding: 20px 15px;
        margin: 20px 10px;
        border-radius: 12px;
    }
    
    .ipp-response-table {
        display: block;
    }
    
    .ipp-response-table tr {
        display: block;
        margin-bottom: 15px;
        border-bottom: 1px solid #e2e4e7;
        padding-bottom: 15px;
    }
    
    .ipp-response-table tr:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    
    .ipp-response-table td {
        display: block;
        width: 100% !important;
        padding: 8px 0;
    }
    
    .ipp-response-table td:first-child {
        font-weight: 700;
        border-bottom: none;
    }
    
    .ipp-api-response-content {
        padding: 15px;
    }
    
    .ipp-api-response-pre {
        font-size: 0.8rem;
    }
    
    .ipp-response-actions .ipp-btn-secondary {
        display: block;
        margin: 10px auto;
        width: 80%;
    }
}

@media (max-width: 480px) {
    .ipp-pan-response-container {
        padding: 15px 10px;
    }
    
    .ipp-response-table td {
        font-size: 0.9rem;
    }
    
    .ipp-api-response-section {
        padding: 20px 15px;
    }
}
