/**
 * ConvertyBot Subscription Admin Page Styles
 * Modern Subscription Dashboard Styles
 */

/* Base Layout */
.convertybot-subscription {
    background: #f0f0f1;
    margin: 20px 20px 0 0;
    padding: 0;
}

/* Header Section */
.subscription-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    margin: 0 0 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.title-icon {
    background: rgba(255,255,255,0.2);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-icon .dashicons {
    font-size: 32px;
    color: white;
    width: 32px;
    height: 32px;
}

.dashboard-title {
    color: white;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.dashboard-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin: 5px 0 0 0;
}

/* Notification Styles */
.subscription-notice {
    margin: 0 0 20px 0;
    border-left-width: 4px;
    padding: 12px;
}

.subscription-notice .dashicons {
    font-size: 18px;
    margin-right: 5px;
    vertical-align: middle;
}

.notice-meta {
    color: #666;
    font-size: 12px;
}

/* Current Plan Card */
.current-plan-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    overflow: hidden;
}

.plan-card-header {
    padding: 25px 30px;
    background: linear-gradient(to right, #f8f9fa, white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.plan-badge .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.status-pill .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.status-trial {
    background: #fef3cd;
    color: #856404;
}

.status-active {
    background: #d1f4e0;
    color: #00712d;
}

.status-expired {
    background: #ffdddd;
    color: #d63638;
}

.plan-card-body {
    padding: 30px;
}

.plan-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-value {
    font-size: 18px;
    color: #1d2327;
    font-weight: 600;
}

.info-value .period {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.text-capitalize {
    text-transform: capitalize;
}

/* Plan Card Footer - Modern Design */
.plan-card-footer {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f1;
}

.manage-subscription-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.manage-subscription-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.manage-subscription-btn:hover:before {
    left: 100%;
}

.manage-subscription-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.manage-subscription-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.manage-subscription-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.manage-subscription-btn:hover .btn-icon-wrapper {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.btn-icon-wrapper .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.btn-text {
    flex: 1;
    text-align: center;
}

.btn-arrow {
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.manage-subscription-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Footer Actions Grid */
.footer-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: 10px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.action-item:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.action-item .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #667eea;
}

.action-item span:last-child {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* Usage Statistics Card Styles */
.usage-stats-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    overflow: hidden;
}

.usage-stats-card .card-header h2 .dashicons {
    color: #667eea;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.usage-item {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e8eaff;
}

.usage-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.usage-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.usage-icon.conversations {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.usage-icon.api-calls {
    background: linear-gradient(135deg, #00a32a 0%, #00d084 100%);
}

.usage-icon .dashicons {
    color: white;
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.usage-info {
    flex: 1;
}

.usage-label {
    display: block;
    font-size: 13px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.usage-count {
    font-size: 20px;
    color: #1d2327;
}

.usage-count strong {
    font-weight: 700;
}

.usage-separator {
    color: #999;
    margin: 0 4px;
}

.usage-limit {
    color: #666;
    font-weight: 400;
}

.usage-percentage {
    font-size: 18px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 20px;
}

.usage-percentage.normal {
    background: #d1f4e0;
    color: #00712d;
}

.usage-percentage.warning {
    background: #fff3cd;
    color: #856404;
}

.usage-percentage.critical {
    background: #ffdddd;
    color: #d63638;
}

/* Unlimited styles */
.usage-item.unlimited {
    background: linear-gradient(135deg, #fff8e1 0%, #fffde7 100%);
    border-color: #ffd54f;
}

.unlimited-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
}

.usage-percentage.unlimited {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    font-size: 24px;
}

.usage-progress-bar {
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.usage-progress {
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s ease;
}

.usage-progress.normal {
    background: linear-gradient(90deg, #00a32a, #00d084);
}

.usage-progress.warning {
    background: linear-gradient(90deg, #ffc107, #ffda6a);
}

.usage-progress.critical {
    background: linear-gradient(90deg, #d63638, #ff6b6b);
    animation: pulse-danger 1.5s infinite;
}

@keyframes pulse-danger {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.usage-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    background: #fff3cd;
    border-left: 3px solid #ffc107;
    border-radius: 4px;
    font-size: 13px;
    color: #856404;
}

.usage-warning .dashicons {
    color: #ffc107;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.usage-reset-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 8px;
    border-left: 4px solid #00a32a;
}

.usage-reset-info.trial {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left-color: #2196f3;
}

.usage-reset-info .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #00a32a;
}

.usage-reset-info.trial .dashicons {
    color: #2196f3;
}

.reset-text {
    font-size: 14px;
    color: #1d2327;
}

.reset-text strong {
    color: #00712d;
}

.usage-reset-info.trial .reset-text strong {
    color: #1565c0;
}

/* Limit Exceeded Alert */
.limit-exceeded-alert {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-radius: 12px;
    border: 2px solid #d63638;
}

.alert-icon {
    width: 50px;
    height: 50px;
    background: #d63638;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alert-icon .dashicons {
    color: white;
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.alert-content {
    flex: 1;
}

.alert-content strong {
    font-size: 16px;
    color: #d63638;
    display: block;
    margin-bottom: 5px;
}

.alert-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.alert-upgrade-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #d63638 !important;
    border-color: #d63638 !important;
    font-weight: 600;
    border-radius: 8px;
    animation: pulse-button 2s infinite;
}

.alert-upgrade-btn:hover {
    background: #b32d2e !important;
    border-color: #b32d2e !important;
}

@keyframes pulse-button {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* API Configuration Card */
.api-config-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    overflow: hidden;
}

.card-header {
    padding: 25px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.card-header h2 {
    margin: 0;
    font-size: 20px;
    color: #1d2327;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header .dashicons {
    color: #667eea;
    font-size: 24px;
}

.card-description {
    margin: 8px 0 0 0;
    color: #666;
    font-size: 14px;
}

.card-body {
    padding: 30px;
}

.api-key-display-modern {
    max-width: 800px;
}

.api-key-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.api-key-label .dashicons {
    color: #667eea;
    font-size: 16px;
}

.api-key-input-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.api-key-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    background: #f8f9fa;
    color: #495057;
    cursor: not-allowed;
}

.api-key-input:focus {
    outline: none;
    border-color: #667eea;
}

#copy-api-key {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #667eea;
    border-color: #667eea;
    color: white;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

#copy-api-key:hover {
    background: #5568d3;
    border-color: #5568d3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

#copy-api-key .dashicons {
    font-size: 18px;
}

.api-key-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    background: #fff3cd;
    border-left: 3px solid #ffc107;
    border-radius: 4px;
    font-size: 13px;
    color: #856404;
    margin: 0;
}

.api-key-note .dashicons {
    color: #ffc107;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Plans Section */
.plans-section {
    margin-bottom: 30px;
}

.section-header {
    background: white;
    padding: 25px 30px;
    border-radius: 8px 8px 0 0;
    border-bottom: 2px solid #f0f0f1;
}

.section-header h2 {
    margin: 0;
    font-size: 22px;
    color: #1d2327;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header .dashicons {
    color: #667eea;
    font-size: 26px;
}

.section-description {
    margin: 8px 0 0 0;
    color: #666;
    font-size: 14px;
}

/* Billing Toggle */
.billing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: 10px;
}

.billing-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.billing-yearly {
    display: flex;
    align-items: center;
    gap: 8px;
}

#billing-period-toggle:checked ~ .billing-toggle-wrapper .billing-label:first-child {
    color: #666;
}

#billing-period-toggle:checked ~ .billing-toggle-wrapper .billing-yearly {
    color: #667eea;
}

.savings-badge {
    background: linear-gradient(135deg, #00a32a, #00d084);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,163,42,0.3);
    animation: pulse-savings 2s infinite;
}

@keyframes pulse-savings {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0,163,42,0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0,163,42,0.4);
    }
}

.billing-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.billing-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.billing-toggle input:checked + .toggle-slider {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.billing-toggle input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.yearly-savings {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #00a32a, #00d084);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    animation: slideInUp 0.3s ease;
}

.yearly-savings .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 0 0 8px 8px;
}

.plan-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.plan-card.current-plan {
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.plan-card-header-small {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.plan-icon {
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.plan-name {
    font-size: 20px;
    font-weight: 700;
    color: #1d2327;
    margin: 0;
}

.plan-price {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f1;
}

.plan-price .price {
    font-size: 36px;
    font-weight: 700;
    color: #1d2327;
}

.plan-price .period {
    font-size: 14px;
    color: #666;
    margin-left: 2px;
}

.plan-features {
    list-style: none;
    margin: 0 0 25px 0;
    padding: 0;
    flex-grow: 1;
}

.plan-features li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #4a5568;
}

.plan-features .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.plan-action {
    margin-top: auto;
}

.plan-action .button {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-action .button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.plan-action .button-disabled {
    background: #f0f0f1;
    color: #666;
    cursor: not-allowed;
}

.plan-action .dashicons {
    font-size: 18px;
}

/* Modern Modal Styles - Fixed z-index for WordPress admin */
.subscription-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999 !important;
    animation: fadeIn 0.3s ease;
}

.subscription-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999999 !important;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    text-align: center;
    animation: slideUp 0.3s ease;
    z-index: 9999999 !important;
}

/* Confirmation modal buttons */
.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.modal-buttons .button {
    min-width: 120px;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-buttons .button-cancel {
    background: #f0f0f1;
    border: 2px solid #ddd;
    color: #666;
}

.modal-buttons .button-cancel:hover {
    background: #e0e0e0;
    border-color: #ccc;
}

.modal-buttons .button-confirm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
}

.modal-buttons .button-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.modal-buttons .button-confirm.danger {
    background: linear-gradient(135deg, #d63638 0%, #ff6b6b 100%);
}

.modal-buttons .button-confirm.danger:hover {
    box-shadow: 0 4px 15px rgba(214, 54, 56, 0.4);
}

.modal-plan-info {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.modal-plan-info .plan-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e8eaff;
}

.modal-plan-info .plan-row:last-child {
    border-bottom: none;
}

.modal-plan-info .plan-label {
    color: #666;
    font-size: 13px;
}

.modal-plan-info .plan-value {
    font-weight: 600;
    color: #1d2327;
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.modal-icon.success {
    background: linear-gradient(135deg, #00a32a, #00d084);
    color: white;
}

.modal-icon.error {
    background: linear-gradient(135deg, #dc3232, #ff6b6b);
    color: white;
}

.modal-icon.confirm {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.modal-icon .dashicons {
    width: 40px;
    height: 40px;
    font-size: 40px;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px;
    color: #1d2327;
}

.modal-message {
    font-size: 16px;
    color: #666;
    margin: 0 0 30px;
    line-height: 1.6;
}

.modal-button {
    min-width: 120px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 782px) {
    .footer-actions-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .action-item {
        flex-direction: row;
        justify-content: center;
    }

    .usage-grid {
        grid-template-columns: 1fr;
    }

    .limit-exceeded-alert {
        flex-direction: column;
        text-align: center;
    }

    .alert-upgrade-btn {
        width: 100%;
        justify-content: center;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-info-grid {
        grid-template-columns: 1fr;
    }

    .api-key-input-wrapper {
        flex-direction: column;
    }
}
