/**
 * WPCrypto Buy Crypto Module - Compact Admin Design
 * 
 * Table of Contents:
 * 1. Base Layout & Reset
 * 2. Header Info Component
 * 3. Form Sections
 * 4. Popular Coins Grid
 * 5. Coin Management Rows
 * 6. Field Groups & Inputs
 * 7. Button Styles
 * 8. Status Indicators
 * 9. Frontend Widget Styles
 * 10. Mobile Responsive Design
 */

/* ==========================================================================
   1. Base Layout & Reset
   ========================================================================== */

.wpcrypto-admin-wrapper,
.wpcrypto-admin-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.wpcrypto-admin-wrapper {
    width: 100%;
}

/* ==========================================================================
   2. Header Info Component
   ========================================================================== */

.wpcrypto-header-info {
    background: linear-gradient(135deg, #1e3c72, #667eea);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.wpcrypto-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 45px;
    margin-bottom: 15px;
    gap: 15px;
}

.wpcrypto-header-left {
    flex: 0 0 auto;
    margin-right: auto;
}

.wpcrypto-header-center {
    flex: 0 0 auto;
}

.wpcrypto-header-logo {
    height: 32px;
    width: auto;
}

.wpcrypto-header-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.wpcrypto-header-right {
    display: flex;
    gap: 8px;
}

.wpcrypto-header-action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.wpcrypto-header-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.wpcrypto-header-action-btn.primary {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-color: #8b5cf6;
}

.wpcrypto-header-action-btn.primary:hover {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    border-color: #7c3aed;
}

.wpcrypto-header-info hr {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 15px 0;
}

.wpcrypto-info-content {
    line-height: 1.6;
}

.wpcrypto-info-content p {
    margin-bottom: 15px;
}

.wpcrypto-info-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   3. Form Sections
   ========================================================================== */

.wpcrypto-form-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.wpcrypto-form-section h2 {
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    font-size: 18px;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    font-weight: 600;
    gap: 8px;
}

.wpcrypto-form-section > p {
    margin: 0 0 20px 0;
    color: #64748b;
    line-height: 1.5;
}

/* ==========================================================================
   4. Popular Coins Grid
   ========================================================================== */

.wpcrypto-popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.wpcrypto-popular-coin {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wpcrypto-popular-coin:hover {
    background: #6366f1;
    border-color: #6366f1;
    color: white;
    transform: translateY(-2px);
}

.wpcrypto-popular-coin img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.wpcrypto-popular-coin-info {
    display: flex;
    flex-direction: column;
}

.wpcrypto-popular-coin-symbol {
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
}

.wpcrypto-popular-coin-name {
    font-size: 11px;
    opacity: 0.8;
    line-height: 1;
}

/* ==========================================================================
   5. Coin Management Rows
   ========================================================================== */

.wpcrypto-coins-container {
    margin-top: 20px;
}

.wpcrypto-coin-row {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.wpcrypto-coin-row:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.wpcrypto-coin-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    background: white;
    border-radius: 8px 8px 0 0;
}

.wpcrypto-coin-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wpcrypto-coin-icon img {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.wpcrypto-coin-info {
    flex: 1;
    display: flex;
    gap: 12px;
    align-items: center;
}

.wpcrypto-coin-symbol-input {
    flex: 0 0 120px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    background: white;
    transition: all 0.2s ease;
}

.wpcrypto-coin-symbol-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.wpcrypto-coin-type-selector {
    flex: 0 0 140px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    background: white;
    transition: all 0.2s ease;
}

.wpcrypto-coin-type-selector:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.wpcrypto-coin-remove {
    background: #ef4444;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.wpcrypto-coin-remove:hover {
    background: #dc2626;
    transform: scale(1.05);
}

.wpcrypto-coin-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 15px;
}

.wpcrypto-coin-status {
    padding: 10px 15px;
    background: white;
    border-radius: 0 0 8px 8px;
    border-top: 1px solid #e2e8f0;
}

/* ==========================================================================
   6. Field Groups & Inputs
   ========================================================================== */

.wpcrypto-field-group {
    display: flex;
    flex-direction: column;
}

.wpcrypto-field-group label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
    font-size: 13px;
}

.wpcrypto-field-group input {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: white;
}

.wpcrypto-field-group input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.wpcrypto-field-group small {
    margin-top: 4px;
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
}

.wpcrypto-custom-price-field {
    background: #fef3c7;
    border-color: #f59e0b;
}

/* ==========================================================================
   7. Button Styles
   ========================================================================== */

.wpcrypto-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    border: 1px solid;
}

.wpcrypto-btn-primary {
    background: #6366f1;
    border-color: #6366f1;
    color: white;
}

.wpcrypto-btn-primary:hover {
    background: #5b5bd6;
    border-color: #5b5bd6;
    transform: translateY(-2px);
}

.wpcrypto-btn-secondary {
    background: white;
    border-color: #e2e8f0;
    color: #374151;
}

.wpcrypto-btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* ==========================================================================
   8. Status Indicators
   ========================================================================== */

.wpcrypto-status-indicator {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpcrypto-status-indicator.binance {
    background: #dcfce7;
    color: #166534;
}

.wpcrypto-status-indicator.custom {
    background: #fef3c7;
    color: #92400e;
}

/* ==========================================================================
   9. Frontend Widget Styles
   ========================================================================== */

.wpcrypto-coin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.wpcrypto-coin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.wpcrypto-coin-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.wpcrypto-coin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.wpcrypto-coin-card .wpcrypto-coin-header {
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.wpcrypto-coin-card .wpcrypto-coin-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.wpcrypto-coin-title {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.wpcrypto-coin-name {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 300;
}

.wpcrypto-coin-body {
    padding: 25px;
}

.wpcrypto-coin-price {
    text-align: center;
    margin-bottom: 25px;
    font-size: 18px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3a7bd5;
}

.wpcrypto-price-value {
    font-weight: 700;
    color: #2c3e50;
    font-size: 20px;
}

.wpcrypto-coin-amount-wrapper {
    margin-bottom: 25px;
    position: relative;
}

.wpcrypto-coin-amount-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.wpcrypto-coin-amount {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #ffffff;
    -moz-appearance: textfield;
}

.wpcrypto-coin-amount::-webkit-outer-spin-button,
.wpcrypto-coin-amount::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wpcrypto-coin-amount:focus {
    outline: none;
    border-color: #3a7bd5;
    box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.1);
}

.wpcrypto-coin-amount.valid {
    border-color: #28a745;
    background: #f8fff9;
}

.wpcrypto-coin-amount.invalid {
    border-color: #dc3545;
    background: #fff8f8;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.wpcrypto-validation-message {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 4px;
    min-height: 20px;
    transition: all 0.3s ease;
}

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

.wpcrypto-validation-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

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

.wpcrypto-coin-calculation {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #dee2e6;
}

.wpcrypto-coin-calculation-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.wpcrypto-coin-calculation-row:last-child {
    margin-bottom: 0;
}

.wpcrypto-coin-calculation-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #dee2e6, transparent);
    margin: 15px 0;
}

.wpcrypto-total-row {
    font-weight: 700;
    color: #2c3e50;
    font-size: 16px;
    padding: 10px 0;
    border-top: 2px solid #3a7bd5;
    margin-top: 10px;
}

.wpcrypto-coin-buy-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #36d1dc, #5b86e5);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.wpcrypto-coin-buy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.wpcrypto-coin-buy-button:hover {
    background: linear-gradient(135deg, #5b86e5, #36d1dc);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 134, 229, 0.4);
}

.wpcrypto-coin-buy-button:hover::before {
    left: 100%;
}

.wpcrypto-coin-buy-button:active {
    transform: translateY(0);
}

.wpcrypto-coin-buy-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.wpcrypto-coin-buy-button:disabled:hover {
    background: #6c757d;
    transform: none;
    box-shadow: none;
}

.wpcrypto-coin-buy-button:disabled::before {
    display: none;
}

/* Notification Styles */
.wpcrypto-coin-notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.wpcrypto-notification-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 550px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    margin: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

.wpcrypto-notification-content h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 24px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
    font-weight: 700;
}

.wpcrypto-purchase-item {
    line-height: 1.8;
}

.wpcrypto-purchase-item p {
    margin: 12px 0;
    font-size: 15px;
}

.wpcrypto-purchase-item .total-price {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    font-size: 18px;
    margin: 20px 0;
}

.wpcrypto-purchase-confirm-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    gap: 15px;
}

.wpcrypto-confirm-purchase-btn,
.wpcrypto-cancel-purchase-btn,
.wpcrypto-close-notification {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    flex: 1;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpcrypto-confirm-purchase-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.wpcrypto-confirm-purchase-btn:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.wpcrypto-cancel-purchase-btn,
.wpcrypto-close-notification {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    color: white;
}

.wpcrypto-cancel-purchase-btn:hover,
.wpcrypto-close-notification:hover {
    background: linear-gradient(135deg, #fd7e14, #dc3545);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.wpcrypto-inline-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 10000;
    display: none;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: slideInRight 0.3s ease-out;
}

.wpcrypto-inline-notification.error {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    color: white;
}

.wpcrypto-inline-notification.success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.wpcrypto-inline-notification.warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: #212529;
}

.wpcrypto-inline-notification.info {
    background: linear-gradient(135deg, #17a2b8, #007bff);
    color: white;
}

/* Checkout Styles */
.wpcrypto-checkout-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.wpcrypto-checkout-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.wpcrypto-checkout-header h1 {
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
}

.wpcrypto-order-details,
.wpcrypto-payment-options {
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.wpcrypto-order-details h2,
.wpcrypto-payment-options h2 {
    margin-top: 0;
    color: #2c3e50;
    font-weight: 600;
    border-bottom: 2px solid #3a7bd5;
    padding-bottom: 10px;
}

.order-items {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-top: 20px;
    overflow: hidden;
}

.order-item-header {
    display: flex;
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    color: white;
    font-weight: 700;
    padding: 15px;
}

.order-item {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.2s ease;
}

.order-item:hover {
    background-color: #f8f9fa;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item.total {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    font-weight: 700;
    font-size: 16px;
}

.order-item.commission {
    background: #fff3cd;
    color: #856404;
}

.item-col {
    flex: 1;
    padding: 5px 10px;
    display: flex;
    align-items: center;
}

.payment-methods {
    margin: 25px 0;
}

.payment-method {
    margin: 15px 0;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-method:hover {
    border-color: #3a7bd5;
    background: #f8f9fa;
}

.payment-method input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.payment-method label {
    font-weight: 500;
    cursor: pointer;
    font-size: 16px;
}

.payment-action {
    margin: 30px 0;
    text-align: center;
}

.wpcrypto-complete-payment-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.wpcrypto-complete-payment-btn:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.payment-notes {
    background: #e7f3ff;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    font-style: italic;
    color: #0056b3;
}

.status-created {
    color: #ff9800;
    font-weight: 600;
}

.status-processing {
    color: #2196F3;
    font-weight: 600;
}

.status-completed {
    color: #4CAF50;
    font-weight: 600;
}

.status-failed {
    color: #f44336;
    font-weight: 600;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #3a7bd5;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

/* ==========================================================================
   10. Mobile Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .wpcrypto-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .wpcrypto-header-left,
    .wpcrypto-header-center,
    .wpcrypto-header-right {
        margin: 0;
    }

    .wpcrypto-popular-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 8px;
    }

    .wpcrypto-coin-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .wpcrypto-coin-info {
        flex-direction: column;
        width: 100%;
    }

    .wpcrypto-coin-symbol-input,
    .wpcrypto-coin-type-selector {
        flex: none;
        width: 100%;
    }

    .wpcrypto-coin-fields {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .wpcrypto-coin-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .wpcrypto-coin-container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .wpcrypto-header-info {
        padding: 15px;
    }

    .wpcrypto-form-section {
        padding: 15px;
    }

    .wpcrypto-popular-grid {
        grid-template-columns: 1fr;
    }

    .wpcrypto-coin-header {
        padding: 12px;
    }

    .wpcrypto-coin-fields {
        padding: 12px;
    }

    .wpcrypto-header-title {
        font-size: 18px;
    }

    .wpcrypto-notification-content {
        padding: 20px;
        width: 95%;
        margin: 20px auto;
    }

    .wpcrypto-purchase-confirm-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .wpcrypto-inline-notification {
        left: 10px;
        right: 10px;
        top: 10px;
    }

    .wpcrypto-coin-calculation {
        padding: 15px;
    }

    .wpcrypto-coin-buy-button {
        padding: 12px;
        font-size: 14px;
    }
}

/* ==========================================================================
   11. Animation Keyframes
   ========================================================================== */

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(102, 126, 234, 0.6);
    }
}