/* Support page styles, moved here from support.php, which links it where the inline <style> was */
body.owc-support-page {
    background: var(--owc-color-surface-muted-bg, #f0f3fd);
    color: #24366c;
    min-height: 100vh;
    overflow-x: hidden;
}



.owc-support-layout {
    padding: 132px 0 48px;
}

.owc-support-grid {
    display: flex;
    gap: 24px;
}

.owc-support-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.owc-support-title {
    text-align: center;
    margin-bottom: 42px;
    font-size: 40px;
    font-weight: 600;
    color: #24366c;
    letter-spacing: -0.04em;
    font-family: var(--owc-font-primary, "Manrope", sans-serif);
}



.owc-support-card {
    background: rgba(244, 247, 255, 0.95);
    border-radius: 26px;
    padding: 22px 28px;
    box-shadow: 0 12px 28px rgba(8, 15, 40, 0.2);
    min-height: 170px;
    width: 100%;
    z-index: 1;
}

.owc-support-card-icon {   
    color: #4169e1; 
    font-size: 31px;
    line-height: 1;
    margin-bottom: 12px;
    display: inline-block;
}

.owc-support-card-icon-img {
    width: 42px;
    height: auto;
    vertical-align: top;
}

.owc-support-card-icon-img.grid-icon{
    width: 26px;
}

.owc-support-card h3 {
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 1.18 !important;
    font-family: var(--owc-font-primary, "Manrope", sans-serif);
    color: #24366c;
    font-weight: 600;
    letter-spacing: -0.04em; 
}

.owc-support-links {
    display: grid;
    gap: 12px;
}

.owc-support-links p {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.4;
    color: #24366c;
}

.owc-support-links.columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    gap: 12px;
}

.owc-support-link {
    color: #4169e1;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.035em;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.2s ease;
}

.owc-support-link:hover {
    color: #2f54c7;
    opacity: 0.9;
}

.owc-support-link .arrow {
    display: inline-block;
    margin-left: 8px;
    height: 11px;
    width: auto;
    vertical-align: middle;
}

.owc-support-cta-wrap {
    display: flex;
    align-items: center;
    z-index: 1;
}

.owc-support-cta {
    width: 100%;
    border-radius: 12px;
    border: none;
    background: #4169e1;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.025em;
    padding: 14px 24px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(65, 105, 225, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    align-items: center;
}

.owc-support-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 24px 36px rgba(65, 105, 225, 0.34);
}

.owc-faq-section {
    padding: 12px 0 100px;
}

.owc-search-row {
    margin-bottom: 20px;
}

.owc-search-input {
    background: #fff;
    border: 1px solid rgba(198, 212, 253, 0.8);
    border-radius: 12px;
    padding: 14px 48px 14px 20px;
    height: 56px;
    font-size: 15px;
    color: #24366c;
    box-shadow: 0 4px 12px rgba(65, 105, 225, 0.08);
}

.owc-search-input:focus {
    border-color: #4169e1;
    box-shadow: 0 4px 16px rgba(65, 105, 225, 0.15);
    outline: none;
}

.owc-search-input::placeholder {
    color: #8a9bc0;
}

.owc-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #8a9bc0;
    cursor: pointer;
    padding: 8px;
    font-size: 15px;
    line-height: 1;
}

.owc-search-clear:hover {
    color: #4169e1;
}

.owc-faq-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 34px;
    font-weight: 500;
    color: #24366c;
    letter-spacing: -0.03em;
    font-family: var(--owc-font-primary, "Manrope", sans-serif);
}

.owc-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
}

.owc-faq-group-title {
    font-size: 24px;
    margin: 0 0 10px;
    color: #24366c;
    font-weight: 500;
    letter-spacing: -0.02em;
    font-family: var(--owc-font-primary, "Manrope", sans-serif);
}

.owc-faq-box {
    background: rgba(248, 250, 255, 0.8);
    border-radius: 22px;
    border: 1px solid rgba(198, 212, 253, 0.6);
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(65, 105, 225, 0.08);
}

.owc-faq-box .panel {
    margin: 0;
}

.owc-faq-box dt {
    margin: 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(198, 212, 253, 0.85);
}

.owc-faq-box .panel:last-child dt {
    border-bottom: none;
}

.owc-faq-box dt > a {
    display: block;
    position: relative;
    color: #4169e1;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
    padding: 16px 56px 16px 20px;
    border: none;
    border-radius: 0;
    text-decoration: none;
    background: transparent;
    font-family: var(--owc-font-primary, "Manrope", sans-serif);
}

.owc-faq-box dt > a:hover {
    background: rgba(65, 105, 225, 0.06);
    color: #2f54c7;
}

.owc-faq-box dt > a:before,
.owc-faq-box dt > a:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 14px;
    height: 2px;
    margin-top: 0;
    transform: translateY(-50%);
    background: #4169e1;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.owc-faq-box dt > a:before {
    transform: translateY(-50%) rotate(90deg);
}

.owc-faq-box dt > a.active {
    background: rgba(65, 105, 225, 0.03); 
    color: #2f54c7;
}

.owc-faq-box dt > a.active:hover {
    background: rgba(65, 105, 225, 0.08);
}

.owc-faq-box dt > a.active:before {
    opacity: 0;
}

.owc-faq-box dt > a.active:before,
.owc-faq-box dt > a.active:after {
    background: #2f54c7;
}

.owc-faq-box .panel.active dt {
    border-bottom: none;
}

.owc-faq-box dd {
    display: none;
    padding: 0 20px 18px;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #24366c;
    background: rgba(65, 105, 225, 0.03);
}

@media (max-width: 1200px) {
    .owc-support-card h3 {
        font-size: 22px;
    }

    .owc-support-link {
        font-size: 19px;
    }

    .owc-support-cta {
        font-size: 15px;
        padding: 12px 20px;
    }

    .owc-faq-group-title {
        font-size: 21px;
    }

    .owc-faq-box dt > a {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .owc-support-layout {
        padding-top: 110px;
    }

    .owc-support-grid {
        flex-direction: column;
    }

    .owc-support-links.columns-2 {
        grid-template-columns: 1fr 1fr;
        column-gap: 18px;
    }


    .owc-faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .owc-support-card {
        padding: 20px;
        border-radius: 20px;
    }

    .owc-support-card h3 {
        font-size: 18px;
    }

    .owc-support-link {
        font-size: 15px;
    }

    .owc-support-links.columns-2 {
        grid-template-columns: 1fr;
    }

    .owc-support-cta {
        font-size: 14px;
        border-radius: 10px;
        padding: 12px 18px;
        white-space: normal;
    }

    .owc-faq-title {
        font-size: 26px;
    }

    .owc-faq-group-title {
        font-size: 18px;
    }

    .owc-faq-box dt {
        border-bottom: none !important;
    }

    .owc-faq-box dt > a {
        font-size: 14px;
        padding: 14px 48px 14px 16px;
    }

    .owc-faq-box dd {
        font-size: 14px;
        padding: 0 16px 16px;
    }
}
