/* Global */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #fff;
    letter-spacing: .1px;
}
.fi-modal-window{
    margin-top: 3rem;
}

/* Frame sekcije */
.section-frame {
    background-color: #fff;
    /*padding: 40px 100px;*/
    /*margin: 40px 40px;*/
    overflow-y: auto;
}

/* Header sekcije */
.section-header {
    padding-top: 40px;
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-weight: 600;
    font-size: 40px;
    color: #202124;
    margin: 0;
    line-height: 1.2;
    max-width: 600px;
    margin-left: auto; /* centrira horizontalno */
    margin-right: auto;
}

.section-subtitle {
    font-weight: 400;
    font-size: 20px;
    color: #5F6368;
    margin-top: 16px;
}


.cards-wrapper {
    display: flex;
    justify-content: center;
    gap: 0;
    padding-bottom: 20px;
    background-color: #fff;
}

/* Kartica */
.card {
    flex: 0 0 auto;
    width: 288px;
    background-color: #fff;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    padding-bottom: 24px;
    margin-right: 0;
    padding-right: 16px;
}

/* Highlighted kartica */
.card-highlighted {
    border: 2px solid #1a73eb;
    border-radius: 8;
    padding-right: 16px;
}

/* Kartica naslov */
.card-title {
    text-align: center;
    font-weight: 600;
    font-size: 32px;
    color: #1F1F1F;
    margin-top: 40px;
    margin-bottom: 16px;
}

/* Cijena */
.card-price {
    text-align: center;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.price-number {
    font-size: 32px;
    font-weight: 600;
    color: #202124;
}

.price-currency {
    font-size: 16px;
    font-weight: 400;
    color: #5F6368;
    margin-left: 4px;
}

.price-desc {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: #5F6368;
    margin-top: 8px;
    margin-bottom: 16px;
}

/* Button */
.card-btn {
    display: table;
    margin: 12px auto 0 auto;
    padding: 14px 32px;
    background-color: #fff;
    color: #1a73eb;
    border: 1px solid #C4C7C5;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

.card-btn:hover {
    background-color: #1a73eb;
    color: #fff;
}

.btn-highlighted {
    background-color: #1a73eb;
    color: #fff;
    border: 0px;
}

.divider {
    height: 1px;
    background-color: #D9D9D9;
    margin: 24px 16px 0 16px;
}

/* Ponuda */
.card-section-title {
    margin-top: 24px;
    margin-left: 16px;
    font-weight: 600;
    font-size: 18px;
    color: #202124;
}

/* Lista stavki paketa */
.package-items {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 16px;
}

/* Stavka */
.package-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

/* Ikonica */
.item-icon {
    width: 20px;
    height: 20px;
    margin-left: 8px;
    margin-right: 8px;
}

/* Tekst */
.item-text {
    display: flex;
    flex-direction: column;
    margin-left: 4px;

}

.item-main {
    font-weight: 600;
    font-size: 16px;
    color: #5F6368;
    line-height: 24px;
    letter-spacing: .1px;
}

.item-sub {
    font-weight: 400;
    font-size: 14px;
    color: #606165;
    line-height: 20px;
}

.pricing-footer {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 16px 0 16px;
}

.pricing-footer-line {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #5F6368;
    line-height: 1.5;
    text-align: left;
    margin: 0 0 8px 0;
}


/* Filament button styling to match card-btn */
.card .fi-btn,
.card button[type="button"] {
    display: block;
    margin: 12px auto 0 auto;
    padding: 14px 32px;
    background-color: #fff;
    color: #1a73eb;
    border: 1px solid #C4C7C5;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    width: auto;
    min-width: 120px;
}

.card .fi-btn:hover,
.card button[type="button"]:hover {
    background-color: #1a73eb;
    color: #fff;
}

.card-highlighted .fi-btn,
.card-highlighted button[type="button"] {
    background-color: #1a73eb;
    color: #fff;
    border: 0px;
}

.card .fi-btn:disabled,
.card button[type="button"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .section-frame {
        padding: 16px;
        margin: 0px;
    }

    .cards-wrapper {
        overflow-x: auto;
        /*TODO when more packages will be added, change this to flex-start*/
        justify-content: center;
        gap: 16px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .card {
        width: 288px;
        flex: 0 0 auto;
    }

    .section-title {
        max-width: 100%;
        font-size: 28px;
        line-height: 1.3;
    }

    .price-number {
        font-size: 24px;
    }


    .section-subtitle {
        font-size: 16px;
    }

    .card-title {
        font-size: 20px;
    }

    .card-section-title {
        font-size: 16px;

    }
}
