/* WPA Fortnox – Product page rich-text components (tabs, boxes) */

/* --- Tabs --- */
.wpa-fortnox-tabs {
    margin: 1.5em 0;
}

.wpa-fortnox-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 0;
}

.wpa-fortnox-tab-title {
    padding: 10px 18px;
    cursor: pointer;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    transition: background 0.15s, color 0.15s;
}

.wpa-fortnox-tab-title:hover {
    background: #eaeaea;
}

.wpa-fortnox-tab-title.active {
    background: #fff;
    color: #222;
    border-bottom: 2px solid #fff;
    margin-bottom: -2px;
    position: relative;
    z-index: 1;
}

.wpa-fortnox-tab-content {
    display: none;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-top: none;
    background: #fff;
}

.wpa-fortnox-tab-content.active {
    display: block;
}

/* --- Green box --- */
.wpa-fortnox-greenbox {
    background: #00982d;
    font-size: 15px;
    color: #fff;
    padding: 10px 15px;
    margin-top: 20px;
}

/* --- Red box (frame) --- */
.wpa-fortnox-redbox {
    border: 1px solid #d51717;
    padding: 4px 12px;
    color: #d51717;
    margin: 12px 0;
}
