/*
 * pricingcard.css — Easy Tidings pricing cards styling
 * Copyright SandCat LLC, 2024. All Rights Reserved.
 *
 * PURPOSE: Page-specific styles for price-cards.blade.php (component)
 * REQUIRES: base.css loaded first (provides CSS variables, fonts, 
 *           buttons, nav, footer, label-pill, section, .inner)
 */
  /* ── PRICING PLAN STYLES ── */
  
  .pricing-form-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
  }
  .pricing-header-wrap {
    margin-bottom: 2rem;
  }
  .pricing-header-wrap h1, .pricing-header-wrap p{
    text-align:center;
  }
  
  .pricing-label-pill {
    display: inline-block;
    background: #e6f0fa;
    color: var(--blue, #0056b3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
  
  .pricing-header-wrap h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 8px;
  }
  
  .pricing-header-wrap p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
  }
  .pricing-header-subtext {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
    margin-top: 12px;
  }
/* Email Capture & Toggles */
  .pricing-email-card {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    text-align: center;
  }

  .plan-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 15px;
  }

  .toggle-label { transition: color 0.3s ease; }
  .toggle-label--active { font-weight: bold; color: var(--blue, #0056b3); }

 .switch { 
    position: relative; 
    display: inline-block; 
    width: 50px; 
    height: 26px; 
    flex-shrink: 0; 
  }
  .switch input { opacity: 0; width: 0; height: 0; }
  .slider { 
    position: absolute; 
    cursor: pointer; 
    top: 0; left: 0; right: 0; bottom: 0; 
    background-color: #ccc; 
    transition: .4s; 
    border-radius: 34px; 
  }
  
  .slider:before { 
    position: absolute; 
    content: ""; 
    height: 18px; 
    width: 18px; 
    left: 4px; 
    bottom: 4px; 
    background-color: white; 
    transition: .4s; 
    border-radius: 50%; 
  }
  input:checked + .slider { background-color: var(--blue, #0056b3); }
  input:checked + .slider:before { transform: translateX(24px); }

  .mini-switch.switch { width: 40px; height: 22px; margin-top: 2px;}
  .mini-switch .slider:before { height: 14px; width: 14px; left: 4px; bottom: 4px; }
  .mini-switch input:checked + .slider:before { transform: translateX(18px); }

  .pricing-email-field {
    text-align: left;
    margin-bottom: 0;
  }

  .pricing-email-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
  }

  .pricing-req-star {
    color: #d9534f;
  }

  .pricing-email-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    margin: 0;
    display: block;
  }

  /* Pricing Grid */
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .pricing-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  }

  .price-card-featured {
    border: 2px solid var(--blue, #0056b3);
    position: relative;
  }

  .pricing-card__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
  }

  .pricing-card__subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 16px;
    min-height: 45px;
  }

  .pricing-card__price {
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    gap: 4px;
  }

  .pricing-card__price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111;
  }

  .pricing-custom-amount {
    font-size: 1.5rem;
  }

  .pricing-card__price-unit {
    color: #666;
    font-weight: 500;
  }

  .pricing-card__button {
    width: 100%;
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
    margin-bottom: 24px;
  }

  .pricing-card__button--default {
    background: var(--blue, #0056b3);
    color: #fff;
    border: none;
  }
  
  .pricing-card__button--default:hover {
    background: #004494;
  }

  .pricing-card__button--outline {
    background: #fff;
    color: var(--blue, #0056b3);
    border: 2px solid var(--blue, #0056b3);
  }

  .pricing-card__button--outline:hover {
    background: #f0f7ff;
  }

  /* Addons */
  .options-toggle {
    margin-bottom: 24px;
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #eee;
  }

  .addon-toggle-header {
    margin: 0;
    font-weight: 600;
    color: var(--blue, #0056b3);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .addon-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
    font-size: 0.9rem;
    cursor: pointer;
  }

  .addon-title {
    font-weight: 600;
    display: block;
  }

  .addon-desc {
    color: #666;
    font-size: 0.85rem;
  }

  .nodisplay { display: none; }

  /* Embedded Features */
  .feature-list {
    margin-top: auto; 
    padding-top: 24px;
    border-top: 1px solid #eaeaea;
  }

  .pricing-custom-features {
    margin-top: 24px;
  }

  .pricing-card__feature-list-title {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 0.95rem;
  }

  .pricing-card__feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .pricing-card__feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
  }
  
  .feature-check {
    flex-shrink: 0;
    color: var(--blue, #0056b3);
    width: 18px;
    height: 18px;
    margin-top: 2px;
  }
/* ── Step-based email + plan selection ────────────────────────── */
.pricing-alert {
    max-width: 680px;
    margin: 0 auto 1.5rem;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
}
.pricing-alert--error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
}

.pricing-step {
    max-width: 680px;
    margin: 0 auto 2rem;
    background: #f0f6ff;
    border: 2px solid #bfdbfe;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 16px rgba(0, 86, 179, 0.08);
}
.pricing-step--attention {
    animation: pricing-shake 0.4s ease;
    border-color: #ef4444;
}
@keyframes pricing-shake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-8px); }
    60%       { transform: translateX(8px); }
    80%       { transform: translateX(-4px); }
}

.pricing-step__label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue, #0056b3);
    margin-bottom: 0.75rem;
}
.pricing-step__label--plans {
    max-width: 680px;
    margin: 0.5rem auto 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue, #0056b3);
}

@media (max-width: 640px) {
    .pricing-step {
        padding: 1.25rem 1.25rem;
    }
}

.pricing-step__email-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.pricing-step__email-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    border: 2px solid #93c5fd;
    border-radius: 8px;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
.pricing-step__email-input:focus {
    border-color: var(--blue, #0056b3);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
}
.pricing-step__email-input--error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.pricing-step__email-hint {
    font-size: 0.875rem;
    color: #ef4444;
    font-weight: 500;
}
