/* Subscription Page Styles - Matching Original Website Design */

/* Alert Messages */
.subscription-page .custom-alert {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.subscription-page .custom-alert.alert-success {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.subscription-page .custom-alert.alert-danger {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.subscription-page .custom-alert.alert-info {
    background-color: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
    max-width: 25%;
}

.subscription-page .custom-alert h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 20px;
    text-align: left;
}

/* Plan Cards - Modern Redesign */
.subscription-page .plan-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    position: relative;
}

.subscription-page .plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.subscription-page .plan-card:hover::before {
    transform: scaleX(1);
}

.subscription-page .plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.2);
}

.subscription-page .plan-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.subscription-page .plan-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
}

.subscription-page .plan-header h4 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.subscription-page .plan-body {
    padding: 2.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 600px;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Price Display - Modern Style */
.subscription-page .price {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    border-radius: 15px;
    position: relative;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.03);
}

.subscription-page .price .currency {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: 700;
    vertical-align: super;
    margin-right: 2px;
}

.subscription-page .price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.subscription-page .price .period {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 500;
    display: block;
    margin-top: 0.5rem;
}

.subscription-page .price .free-label {
    font-size: 2rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin-top: 0.5rem;
    display: block;
}

.subscription-page .price .paid-label {
    font-size: 1.2rem;
    color: #dc3545;
    font-weight: 700;
    display: block;
    margin-top: 0.5rem;
    background: #fff3cd;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

/* Plan Description */
.subscription-page .plan-description {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
    font-weight: 400;
}

.plan-body h6 {
    font-weight: 700;
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Permissions List - Modern Badges */
.subscription-page .perm-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    max-height: 280px;
    overflow-y: auto;
}

.subscription-page .perm-list::-webkit-scrollbar {
    width: 6px;
}

.subscription-page .perm-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.subscription-page .perm-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.subscription-page .perm-list li {
    color: #495057;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.subscription-page .perm-list li i {
    margin-right: 0.75rem;
    width: 20px;
    font-size: 1.1rem;
}

.subscription-page .perm-list li.available {
    color: #212529;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
    border-left: 3px solid #28a745;
}

.subscription-page .perm-list li.available:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
}

.subscription-page .perm-list li.available i {
    color: #28a745;
    animation: checkPulse 2s infinite;
}

@keyframes checkPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.subscription-page .perm-list li.unavailable {
    color: #6c757d !important;
    background: #f8f9fa;
    opacity: 0.6;
    text-decoration: line-through;
}

.subscription-page .perm-list li.unavailable i {
    color: #dc3545 !important;
}

/* Buttons - Modern Gradient */
.subscription-page .btn.float-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.subscription-page .btn.float-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 ease;
}

.subscription-page .btn.float-btn:not(:disabled):hover::before {
    left: 100%;
}

.subscription-page .btn.float-btn:not(:disabled):hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.subscription-page .btn.float-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    box-shadow: none;
}

.subscription-page .btn.float-btn i {
    margin-right: 0.5rem;
}

/* Badge Styles */
.subscription-page .badge-success {
    background-color: #28a745;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.subscription-page p.mb-1 {
    font-size: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {

    .subscription-page .custom-alert.alert-info {
        max-width: 100%;
    }

    .subscription-page .plan-card {
        margin-bottom: 1.5rem;
    }
    
    .subscription-page .price .amount {
        font-size: 2.5rem;
    }
    
    .subscription-page .plan-header h4 {
        font-size: 1.3rem;
    }
}
