/* Gids Pages - Shared Styles
   Matches Achterafje design system from main.css
   ============================================================================ */

:root {
    --klarna-pink: #2E7FB8;
    --klarna-black: #16244A;
    --klarna-grey: #F2F2F2;
    --text-primary: #333;
    --text-secondary: #555;
    --text-muted: #888;
    --bg-light: #F8F8F8;
}

/* Article Container */
.gids-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Article Header */
.gids-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--klarna-grey);
}

.gids-header h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 15px;
    color: var(--klarna-black);
}

.gids-meta {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

/* Content */
.gids-content {
    line-height: 1.8;
    color: var(--text-primary);
    font-size: 17px;
}

.gids-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 50px 0 25px 0;
    color: var(--klarna-black);
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.gids-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 35px 0 15px 0;
    color: var(--klarna-black);
}

.gids-content p {
    margin-bottom: 20px;
}

.gids-content ul,
.gids-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.gids-content li {
    margin-bottom: 12px;
}

.gids-content a {
    color: var(--klarna-black);
    text-decoration: underline;
    font-weight: 500;
}

.gids-content a:hover {
    color: #FF8BA7;
}

/* Info Box */
.gids-info {
    background: var(--klarna-grey);
    border-left: 4px solid var(--klarna-pink);
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.gids-info strong {
    color: var(--klarna-black);
}

/* Warning Box */
.gids-warning {
    background: #fffbf0;
    border-left: 4px solid #F5A623;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

/* Tables */
.gids-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}

.gids-table th {
    background: var(--klarna-grey);
    padding: 18px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
}

.gids-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
}

.gids-table tr:last-child td {
    border-bottom: none;
}

.gids-table .highlight {
    background: rgba(255, 179, 199, 0.1);
}

/* Steps Grid */
.gids-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.gids-step {
    background: white;
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.2s;
}

.gids-step:hover {
    border-color: var(--klarna-pink);
    transform: translateY(-3px);
}

.gids-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--klarna-pink);
    color: var(--klarna-black);
    border-radius: 50%;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 15px;
}

.gids-step h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.gids-step p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Category Cards Grid */
.gids-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.gids-card {
    background: white;
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.gids-card:hover {
    border-color: var(--klarna-pink);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.gids-card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.gids-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--klarna-black);
}

.gids-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.gids-card-meta {
    color: var(--klarna-pink);
    font-weight: 600;
    font-size: 14px;
}

/* CTA Box */
.gids-cta {
    background: var(--klarna-black);
    color: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    margin: 50px 0;
}

.gids-cta h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
}

.gids-cta p {
    opacity: 0.9;
    margin-bottom: 25px;
    font-size: 16px;
}

.gids-cta-btn {
    display: inline-block;
    background: var(--klarna-pink);
    color: var(--klarna-black);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.gids-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 179, 199, 0.4);
}

/* FAQ Items */
.gids-faq {
    background: white;
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 25px 30px;
    margin-bottom: 20px;
}

.gids-faq-q {
    font-size: 18px;
    font-weight: 700;
    color: var(--klarna-black);
    margin-bottom: 12px;
}

.gids-faq-a {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Cost Box */
.gids-cost-box {
    background: var(--klarna-grey);
    border: 3px solid #4CAF50;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

.gids-cost-amount {
    font-size: 72px;
    font-weight: 900;
    color: #4CAF50;
    line-height: 1;
    margin: 15px 0;
}

.gids-cost-label {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Top List */
.gids-list {
    background: white;
    border: 2px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    margin: 30px 0;
}

.gids-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

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

.gids-list-name {
    font-weight: 700;
    color: var(--klarna-black);
}

.gids-list-cat {
    font-size: 13px;
    color: var(--text-muted);
}

.gids-list-link {
    color: var(--klarna-pink);
    font-weight: 600;
    text-decoration: none;
}

.gids-list-link:hover {
    text-decoration: underline;
}

/* Category Nav */
.gids-nav {
    background: var(--klarna-grey);
    padding: 25px 30px;
    border-radius: 16px;
    margin-bottom: 40px;
}

.gids-nav h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--klarna-black);
}

.gids-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.gids-nav a {
    color: var(--klarna-black);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    background: white;
    border-radius: 8px;
    font-size: 14px;
}

.gids-nav a:hover {
    background: var(--klarna-pink);
}

/* Badge */
.gids-badge {
    display: inline-block;
    background: var(--klarna-pink);
    color: var(--klarna-black);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Winner/Tie Badge */
.gids-winner {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
}

.gids-tie {
    display: inline-block;
    background: #9e9e9e;
    color: white;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .gids-header h1 {
        font-size: 32px;
    }

    .gids-content h2 {
        font-size: 24px;
    }

    .gids-steps {
        grid-template-columns: 1fr 1fr;
    }

    .gids-cards {
        grid-template-columns: 1fr;
    }

    .gids-table {
        font-size: 14px;
    }

    .gids-table th,
    .gids-table td {
        padding: 12px 15px;
    }

    .gids-cta {
        padding: 40px 25px;
    }

    .gids-cta h3 {
        font-size: 24px;
    }
}