/**
 * Subscription Module Styles
 * 
 * @package Trippy's Food Corporation
 * @version 1.4
 * @updated 2025-05-29
 * @description Enhanced design with premium typography, refined UI elements, and professional color scheme
 */

/* Import premium Google Fonts for enhanced typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* Load Bootstrap CSS directly for bootstrap-scope elements */
.bootstrap-scope {
  /* Bootstrap Reboot */
  *, ::after, ::before {box-sizing: border-box;}
  
  /* Bootstrap Grid System */
  .container {width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;}
  .row {display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px;}
  .col, .col-md-4, .col-md-6, .col-md-8, .col-md-12 {position: relative; width: 100%; padding-right: 15px; padding-left: 15px;}
  
  /* Enhanced Premium Typography */
  h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin-top: 0; 
    margin-bottom: 0.5rem; 
    font-weight: 700; 
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
    color: #252A3C;
    letter-spacing: -0.02em;
  }
  
  h1, .h1 {font-size: 2.75rem; letter-spacing: -0.03em;}
  h2, .h2 {font-size: 2.25rem; letter-spacing: -0.02em;}
  h3, .h3 {font-size: 1.85rem; letter-spacing: -0.01em;}
  h4, .h4 {font-size: 1.5rem; letter-spacing: -0.01em;}
  h5, .h5 {font-size: 1.25rem;}
  h6, .h6 {font-size: 1rem;}
  
  body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #3E4555;
  }
  
  p, div, span, a, input, button, select, textarea {
    font-family: 'Inter', sans-serif;
  }

  .lead {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #5A6278;
  }
  
  /* Enhanced Bootstrap Components */
  .alert {
    position: relative; 
    padding: 1rem 1.25rem; 
    margin-bottom: 1.25rem; 
    border: none; 
    border-radius: 10px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  .alert-success {color: #0A5D3B; background-color: #E5F8EF; border-left: 4px solid #0A9E67;}
  .alert-danger {color: #881F31; background-color: #FBEAED; border-left: 4px solid #E43F55;}
  .alert-warning {color: #895612; background-color: #FFF5E1; border-left: 4px solid #F5B14C;}
  .alert-info {color: #0F6489; background-color: #E0F4FD; border-left: 4px solid #21A7E0;}
  
  .badge {
    display: inline-block; 
    padding: 0.4em 0.65em; 
    font-weight: 600; 
    line-height: 1; 
    text-align: center; 
    white-space: nowrap; 
    vertical-align: baseline; 
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }
  
  .bg-primary {background-color: #0068E1 !important;}
  .bg-secondary {background-color: #5A6278 !important;}
  .bg-success {background-color: #0A9E67 !important;}
  .bg-danger {background-color: #E43F55 !important;}
  .bg-warning {background-color: #F5B14C !important;}
  .bg-info {background-color: #21A7E0 !important;}
  
  .card {
    position: relative; 
    display: flex; 
    flex-direction: column; 
    min-width: 0; 
    word-wrap: break-word; 
    background-color: #fff; 
    background-clip: border-box; 
    border-radius: 12px; 
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    border: none;
    overflow: hidden;
  }
  
  .card-header {
    padding: 1.25rem 1.5rem; 
    margin-bottom: 0; 
    background-color: #fff; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
  }
  
  .card-body {
    flex: 1 1 auto; 
    min-height: 1px; 
    padding: 1.5rem;
  }
  
  .card-footer {
    padding: 1.25rem 1.5rem; 
    background-color: #FAFBFC; 
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .btn {
    display: inline-block; 
    font-weight: 500; 
    text-align: center; 
    vertical-align: middle; 
    user-select: none; 
    border: 1px solid transparent; 
    padding: 0.5rem 1.25rem; 
    font-size: 0.95rem; 
    line-height: 1.5; 
    border-radius: 8px; 
    transition: all 0.2s ease-in-out;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
  }
  
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
  }
  
  .btn-primary {color: #fff; background-color: #0068E1; border-color: #0068E1;}
  .btn-primary:hover {background-color: #0055BD; border-color: #0055BD;}
  
  .btn-secondary {color: #fff; background-color: #5A6278; border-color: #5A6278;}
  .btn-secondary:hover {background-color: #4A5268; border-color: #4A5268;}
  
  .btn-success {color: #fff; background-color: #0A9E67; border-color: #0A9E67;}
  .btn-success:hover {background-color: #088254; border-color: #088254;}
  
  .btn-danger {color: #fff; background-color: #E43F55; border-color: #E43F55;}
  .btn-danger:hover {background-color: #D23347; border-color: #D23347;}
  
  .btn-warning {color: #212529; background-color: #F5B14C; border-color: #F5B14C;}
  .btn-warning:hover {background-color: #F0A12C; border-color: #F0A12C;}
  
  .btn-info {color: #fff; background-color: #21A7E0; border-color: #21A7E0;}
  .btn-info:hover {background-color: #1A94C9; border-color: #1A94C9;}
  
  .btn-outline-primary {color: #0068E1; border-color: #0068E1;}
  .btn-outline-primary:hover {background-color: #0068E1; color: #fff;}
  
  .btn-outline-secondary {color: #5A6278; border-color: #5A6278;}
  .btn-outline-secondary:hover {background-color: #5A6278; color: #fff;}
  
  .btn-outline-success {color: #0A9E67; border-color: #0A9E67;}
  .btn-outline-success:hover {background-color: #0A9E67; color: #fff;}
  
  .btn-outline-danger {color: #E43F55; border-color: #E43F55;}
  .btn-outline-danger:hover {background-color: #E43F55; color: #fff;}
  
  .progress {
    display: flex; 
    height: 0.6rem; 
    overflow: hidden; 
    line-height: 0; 
    font-size: 0.75rem; 
    background-color: #EAECF0; 
    border-radius: 30px;
  }
  
  .progress-bar {
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    overflow: hidden; 
    color: #fff; 
    text-align: center; 
    white-space: nowrap; 
    background-color: #0068E1; 
    transition: width 0.6s ease;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0, 104, 225, 0.2);
  }
  
  .modal-open {overflow: hidden;}
  
  .modal {
    position: fixed; 
    top: 0; 
    left: 0; 
    z-index: 1050; 
    display: none; 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    outline: 0;
  }
  
  .modal-dialog {
    position: relative; 
    width: auto; 
    margin: 0.5rem; 
    pointer-events: none;
  }
  
  .modal-content {
    position: relative; 
    display: flex; 
    flex-direction: column; 
    width: 100%; 
    pointer-events: auto; 
    background-color: #fff; 
    background-clip: padding-box; 
    border: none; 
    border-radius: 12px; 
    outline: 0;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
  }
  
  .modal-header {
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 1.25rem 1.5rem; 
    border-bottom: 1px solid #EAECF0; 
    border-top-left-radius: 12px; 
    border-top-right-radius: 12px;
  }
  
  .modal-body {
    position: relative; 
    flex: 1 1 auto; 
    padding: 1.5rem;
  }
  
  .modal-footer {
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    justify-content: flex-end; 
    padding: 1.25rem 1.5rem; 
    border-top: 1px solid #EAECF0; 
    border-bottom-right-radius: 12px; 
    border-bottom-left-radius: 12px;
  }

  /* Enhanced Form Controls */
  .form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 1rem + 2px);
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    color: #3E4555;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #DFE3EA;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  }

  .form-control:focus {
    color: #3E4555;
    background-color: #fff;
    border-color: #0068E1;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(0, 104, 225, 0.15);
  }

  .form-label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #3E4555;
  }

  .form-text {
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #5A6278;
  }
}

/* Media queries for grid system */
@media (min-width: 576px) {
  .bootstrap-scope .container {max-width: 540px;}
  .bootstrap-scope .col-sm-6 {flex: 0 0 50%; max-width: 50%;}
}

@media (min-width: 768px) {
  .bootstrap-scope .container {max-width: 720px;}
  .bootstrap-scope .col-md-4 {flex: 0 0 33.333333%; max-width: 33.333333%;}
  .bootstrap-scope .col-md-6 {flex: 0 0 50%; max-width: 50%;}
  .bootstrap-scope .col-md-8 {flex: 0 0 66.666667%; max-width: 66.666667%;}
  .bootstrap-scope .col-md-12 {flex: 0 0 100%; max-width: 100%;}
}

@media (min-width: 992px) {
  .bootstrap-scope .container {max-width: 960px;}
}

@media (min-width: 1200px) {
  .bootstrap-scope .container {max-width: 1140px;}
}

/* Custom subscription styles with enhanced professional look */
.subscription-card {
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: none;
    background: #FFFFFF;
}

.subscription-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.subscription-card .card-header {
    background-color: #FAFBFC;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px 24px;
}

.subscription-card .card-body {
    padding: 28px;
}

/* Dashboard main card */
.dashboard-main-card {
    border-left: 4px solid #0068E1;
    background: linear-gradient(to right, rgba(0, 104, 225, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Animated icons */
.animated-icon {
    transition: all 0.3s ease;
}

.subscription-card:hover .animated-icon {
    transform: scale(1.15);
    color: #0068E1;
}

/* Card content spacing */
.card-content-spacing {
    padding: 1.75rem 1.25rem;
}

/* Enhanced Billing Toggle */
.billing-toggle-container {
    display: inline-flex;
    align-items: center;
    background-color: #F5F7FA;
    padding: 8px 16px;
    border-radius: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.billing-label {
    font-weight: 500;
    padding: 0 16px;
    color: #5A6278;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.billing-label.active {
    color: #252A3C;
    font-weight: 600;
}

.billing-toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    margin: 0 8px;
}

.billing-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.billing-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #DFE3EA;
    transition: .4s;
    border-radius: 34px;
}

.billing-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

input:checked + .billing-slider {
    background-color: #0068E1;
}

input:checked + .billing-slider:before {
    transform: translateX(24px);
}

.savings-badge {
    position: absolute;
    top: -12px;
    right: -10px;
    background: linear-gradient(135deg, #0A9E67 0%, #08C278 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(10, 158, 103, 0.3);
    animation: pulse 2s infinite;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
}

/* Plan cards with premium styling */
.plan-cards-container {
    position: relative;
    z-index: 1;
    padding: 1.25rem 0.5rem;
}

.plan-card {
    border: 1px solid #EAECF0;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    overflow: hidden;
    position: relative;
    background-color: white;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
}

.plan-card:hover {
    border-color: #0068E1;
    box-shadow: 0 20px 45px rgba(0, 104, 225, 0.15);
    transform: translateY(-12px) scale(1.02);
    z-index: 2;
}

.plan-card.current-plan {
    border: 2px solid #0068E1;
    box-shadow: 0 15px 35px rgba(0, 104, 225, 0.2);
    z-index: 2;
    background-color: rgba(0, 104, 225, 0.02);
}

.plan-card.recommended {
    border: none;
    box-shadow: 0 20px 45px rgba(0, 104, 225, 0.2);
    z-index: 3;
    transform: scale(1.03);
    background: linear-gradient(to bottom, #ffffff, #F9FBFF);
}

.plan-card.recommended:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 104, 225, 0.25);
}

.plan-card.recommended::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #0068E1;
    border-radius: 20px;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(135deg, rgba(0, 104, 225, 0.05) 0%, rgba(0, 104, 225, 0.1) 100%);
}

.plan-card .card-header {
    background: linear-gradient(145deg, #F9FAFC 0%, #F5F7FA 100%);
    border-bottom: 1px solid #EAECF0;
    text-align: center;
    padding: 30px 15px;
    position: relative;
}

.plan-card.recommended .card-header {
    background: linear-gradient(145deg, #0068E1 0%, #0055BD 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 104, 225, 0.2);
}

.plan-card .card-header h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}

.plan-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    width: 150px;
    height: 150px;
    z-index: 5;
}

.plan-ribbon span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 12px 0;
    background: linear-gradient(90deg, #0055BD, #0075FF);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    color: white;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    transform: rotate(45deg);
    right: -45px;
    top: 45px;
}

.plan-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #F58A48 0%, #F5B14C 100%);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(245, 177, 76, 0.3);
    z-index: 4;
    letter-spacing: 0.5px;
    animation: pulse-subtle 2s infinite;
}

@keyframes pulse-subtle {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.plan-price-container {
    background: linear-gradient(145deg, rgba(0, 104, 225, 0.03) 0%, rgba(0, 104, 225, 0.06) 100%);
    border-radius: 16px;
    padding: 28px;
    margin: 24px 0;
    text-align: center;
    border: 1px solid rgba(0, 104, 225, 0.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03) inset;
}

.plan-price {
    font-size: 3.25rem;
    font-weight: 700;
    color: #252A3C;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.03em;
    line-height: 1;
}

.plan-price .currency {
    font-size: 1.5rem;
    margin-right: 0.3rem;
    font-weight: 500;
    opacity: 0.8;
    align-self: flex-start;
    margin-top: 0.8rem;
}

.plan-card.recommended .plan-price {
    color: #0068E1;
    text-shadow: 0 1px 2px rgba(0, 104, 225, 0.1);
}

.plan-cycle {
    font-size: 0.95rem;
    color: #5A6278;
    margin-bottom: 0.5rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.savings-text {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #0A9E67;
    font-weight: 600;
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(10, 158, 103, 0.08);
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(10, 158, 103, 0.1);
}

.plan-description {
    margin: 1.25rem 0;
    min-height: 52px;
    line-height: 1.6;
    color: #5A6278;
    font-size: 0.95rem;
}

.plan-features-section {
    flex: 1;
}

.features-title {
    margin: 1.75rem 0 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #252A3C;
    position: relative;
    padding-bottom: 0.6rem;
    font-family: 'Montserrat', sans-serif;
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #0068E1, #0075FF);
    border-radius: 3px;
}

.plan-features {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.plan-features li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: flex-start;
    transition: all 0.2s ease;
}

.plan-features li:hover {
    background-color: rgba(0, 104, 225, 0.02);
    padding-left: 5px;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    margin-right: 14px;
    color: #0A9E67;
    flex-shrink: 0;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    margin-top: 3px;
    transition: transform 0.2s ease;
}

.plan-features li:hover i {
    transform: scale(1.2);
}

.plan-features i.fa-times {
    color: #E43F55;
}

.plan-features i.fa-check {
    color: #0A9E67;
}

.plan-features span {
    line-height: 1.5;
    font-weight: 400;
    color: #3E4555;
}

.plan-card .card-footer {
    background: linear-gradient(145deg, #FAFBFC 0%, #F5F7FA 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding: 28px;
}

.plan-card.recommended .card-footer {
    background: linear-gradient(145deg, #FAFBFC 0%, #F0F7FF 100%);
}

.coupon-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.coupon-input {
    padding-left: 42px;
    border-radius: 30px;
    height: 52px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.coupon-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 104, 225, 0.1);
    border-color: #0068E1;
}

.coupon-container .form-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #3E4555;
    display: flex;
    align-items: center;
}

.coupon-container .form-label i {
    margin-right: 6px;
    color: #5A6278;
}

.btn-subscribe {
    border-radius: 30px;
    padding: 14px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0, 104, 225, 0.2);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn-subscribe:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 104, 225, 0.3);
}

.btn-subscribe::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
}

.btn-subscribe:active::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition: 0s;
}

/* Comparison table styles with enhanced design */
.comparison-section {
    margin: 5rem 0;
    padding: 2.5rem;
    background-color: #F9FAFC;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.section-header {
    margin-bottom: 3.5rem;
    position: relative;
}

.section-header h2 {
    font-weight: 700;
    color: #252A3C;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.section-header p {
    color: #5A6278;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
}

.comparison-table-container {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: white;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.comparison-table th, 
.comparison-table td {
    padding: 20px;
    text-align: center;
    border: none;
    border-bottom: 1px solid #EAECF0;
    vertical-align: middle;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    position: sticky;
    left: 0;
    background-color: white;
    z-index: 10;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.05);
}

.feature-column {
    width: 260px;
    min-width: 260px;
}

.feature-column-header {
    font-weight: 700;
    font-size: 1.15rem;
    color: #252A3C;
    font-family: 'Montserrat', sans-serif;
}

.plan-column {
    min-width: 210px;
}

.recommended-column {
    background-color: rgba(0, 104, 225, 0.03);
    position: relative;
    box-shadow: 0 0 20px rgba(0, 104, 225, 0.08);
}

.recommended-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0068E1, #0075FF);
}

.plan-name {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #252A3C;
    font-family: 'Montserrat', sans-serif;
}

.recommended-tag {
    background-color: #0A9E67;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 0.6rem;
    box-shadow: 0 3px 6px rgba(10, 158, 103, 0.2);
}

.current-plan-tag {
    background-color: #0068E1;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 0.6rem;
    box-shadow: 0 3px 6px rgba(0, 104, 225, 0.2);
}

.feature-name {
    font-weight: 500;
    color: #3E4555;
}

.feature-icon-wrapper {
    display: flex;
    align-items: center;
}

.feature-icon {
    margin-right: 12px;
    color: #5A6278;
    width: 24px;
    text-align: center;
}

.feature-text {
    padding: 10px 0;
    font-weight: 500;
}

.feature-value {
    font-weight: 500;
    color: #3E4555;
}

.unlimited-value {
    color: #0A9E67;
    font-weight: 700;
}

.numeric-value {
    font-weight: 700;
    color: #252A3C;
}

.price-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: #252A3C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}

.currency-symbol {
    font-size: 1rem;
    margin-right: 2px;
    font-weight: 500;
}

.price-period {
    font-size: 0.8rem;
    color: #5A6278;
    margin-top: 4px;
}

.price-savings {
    font-size: 0.75rem;
    color: #0A9E67;
    margin-top: 8px;
    font-weight: 600;
    display: inline-block;
    padding: 3px 10px;
    background-color: rgba(10, 158, 103, 0.1);
    border-radius: 12px;
}

.check-icon {
    color: #0A9E67;
    font-size: 1.2rem;
}

.cross-icon {
    color: #E43F55;
    font-size: 1.2rem;
    opacity: 0.5;
}

.positive-value {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A9E67;
    font-weight: 600;
}

.negative-value {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5A6278;
    font-size: 0.9rem;
}

.positive-value .check-icon,
.negative-value .cross-icon {
    margin-right: 6px;
}

.price-row {
    background-color: rgba(0, 0, 0, 0.01);
}

/* Payment method cards */
.payment-method-card {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #EAECF0;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    height: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.payment-method-card:hover {
    border-color: #0068E1;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 104, 225, 0.1);
}

.payment-method-card.selected {
    border-color: #0068E1;
    background-color: rgba(0, 104, 225, 0.02);
    box-shadow: 0 8px 20px rgba(0, 104, 225, 0.1);
}

.payment-method-title {
    font-weight: 600;
    color: #252A3C;
    font-size: 1rem;
    margin-bottom: 2px;
}

.payment-method-description {
    color: #5A6278;
    font-size: 0.85rem;
}

/* Subscription empty state styling */
.subscription-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
}

/* Enhanced Payment History */
.subscription-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: 'Inter', sans-serif;
}

.subscription-table thead th {
    padding: 16px;
    font-weight: 600;
    color: #252A3C;
    background-color: #F9FAFC;
    border-bottom: 1px solid #EAECF0;
    text-align: left;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.subscription-table tbody td {
    padding: 16px;
    border-bottom: 1px solid #EAECF0;
    color: #3E4555;
    vertical-align: middle;
}

.subscription-table tbody tr:hover {
    background-color: rgba(0, 104, 225, 0.02);
}

.payment-date {
    font-weight: 500;
    color: #3E4555;
}

.payment-amount {
    color: #252A3C;
}

/* Payment history items */
.payment-history-item {
    background-color: #fff;
    border: 1px solid #EAECF0;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
}

.payment-history-item:hover {
    border-color: #DFE3EA;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    transform: translateY(-3px);
}

/* Icon circles with refined look */
.icon-circle {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.icon-circle:hover {
    transform: scale(1.1);
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .plan-price {
        font-size: 2.5rem;
    }
    
    .card-header h5 {
        font-size: 1.2rem;
    }
    
    .subscription-card .card-body {
        padding: 20px;
    }
    
    .plan-card .card-header {
        padding: 20px 15px;
    }
    
    .modal-header, .modal-footer, .modal-body {
        padding: 18px;
    }
    
    .badge {
        padding: 5px 10px;
        font-size: 0.7rem;
    }
    
    .chart-container {
        height: 250px;
    }
    
    .billing-toggle-container {
        padding: 6px 12px;
    }
    
    .billing-label {
        padding: 0 10px;
        font-size: 0.9rem;
    }
    
    .comparison-section {
        padding: 1.5rem;
    }
    
    .bootstrap-scope h1, .bootstrap-scope .h1 {
        font-size: 2.25rem;
    }
    
    .bootstrap-scope h2, .bootstrap-scope .h2 {
        font-size: 1.85rem;
    }
    
    .bootstrap-scope .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .plan-features li {
        padding: 12px 0;
        font-size: 0.9rem;
    }
    
    .plan-price {
        font-size: 2rem;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: start !important;
    }
    
    .dashboard-header .text-end {
        text-align: left !important;
        margin-top: 1rem;
    }
    
    .comparison-table th, 
    .comparison-table td {
        padding: 14px 10px;
        font-size: 0.9rem;
    }
    
    .feature-column {
        width: 180px;
        min-width: 180px;
    }
    
    .bootstrap-scope h1, .bootstrap-scope .h1 {
        font-size: 1.85rem;
    }
    
    .bootstrap-scope h2, .bootstrap-scope .h2 {
        font-size: 1.5rem;
    }
    
    .bootstrap-scope .lead {
        font-size: 1rem;
    }
    
    .plan-card .card-header h5 {
        font-size: 1.25rem;
    }
    
    .subscription-card {
        margin-bottom: 1.5rem;
    }
}
