/* Card Detail Page Styles */
.card-detail-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 0 60px;
    color: white;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.card-detail-header {
    display: flex;
    gap: 40px;
    align-items: center;
}

.card-detail-image {
    flex-shrink: 0;
}

.card-placeholder-large {
    width: 200px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-placeholder-large i {
    font-size: 60px;
    color: rgba(255, 255, 255, 0.9);
}

.card-detail-info h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-issuer-large {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.card-rating-large {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.card-rating-large .stars {
    font-size: 24px;
    color: #fbbf24;
}

.rating-text {
    font-size: 18px;
}

.card-cta-buttons {
    display: flex;
    gap: 15px;
}

/* Card Details Section */
.card-details-section {
    padding: 60px 0;
    background: #f9fafb;
}

.card-details-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

.detail-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.detail-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark);
}

.features-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.feature-detail-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-detail-item i {
    font-size: 24px;
    color: var(--primary);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-detail-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--gray);
}

.feature-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.features-list,
.benefits-list,
.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li,
.benefits-list li,
.requirements-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.features-list li:last-child,
.benefits-list li:last-child,
.requirements-list li:last-child {
    border-bottom: none;
}

.features-list i {
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefits-list i {
    color: #fbbf24;
    flex-shrink: 0;
    margin-top: 2px;
}

.requirements-list i {
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Pros and Cons */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.pros h3,
.cons h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 15px;
}

.pros h3 {
    color: #10b981;
}

.cons h3 {
    color: #ef4444;
}

.pros ul,
.cons ul {
    list-style: none;
    padding: 0;
}

.pros li,
.cons li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
}

.pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.cons li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
}

/* Sidebar */
.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sticky-card {
    position: sticky;
    top: 20px;
}

.sidebar-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.apply-highlight {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.apply-highlight:last-of-type {
    margin-bottom: 25px;
}

.apply-highlight .label {
    color: var(--gray);
    font-size: 14px;
}

.apply-highlight .value {
    font-weight: 700;
    font-size: 18px;
    color: var(--dark);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.disclaimer-text {
    font-size: 12px;
    color: var(--gray);
    margin-top: 15px;
    line-height: 1.5;
}

/* Related Cards */
.related-cards-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-card-item {
    display: block;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.related-card-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-card-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.related-card-item p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 10px;
}

.related-card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.related-card-info .rating {
    color: #fbbf24;
    font-weight: 600;
}

.related-card-info .fee {
    color: var(--primary);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .card-details-grid {
        grid-template-columns: 1fr;
    }
    
    .sticky-card {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .card-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .card-detail-info h1 {
        font-size: 28px;
    }
    
    .card-placeholder-large {
        width: 160px;
        height: 100px;
    }
    
    .features-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
    
    .card-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .card-cta-buttons .btn {
        width: 100%;
    }
}