@charset "UTF-8";
/*
Theme Name:		Alphaprolis
Theme URI:		https://affiliate.aplhapropolis/
Author: 		Alphaprolis
Author URI:		https://alphapropolis.com/
Description:	A modern and responsive WordPress theme for Alphapropolis
Version: 		1.0.0
License: 		GNU General Public License v2 or later
License URI: 	LICENSE
Text Domain: 	Alphapropolis
*/

:root {
    --primary: #23418E;
    --secondary: #ffffff;
    --font-family: "Inter", sans-serif;
    --fs: 16px;
    --fs-small: 14px;
    --fs-large: 18px;
    --line-height-base: 1.6;
    --border-radius: 16px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* T Y P O G R A P H Y */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-size: 16px;
    line-height: 1.6;
    color: var(--primary);
    font-family: var(--font-family) !important;
}

p:only-of-type,
p:last-child {
    margin-bottom: 0;
}

ul,
ol {
    padding-left: 16px !important;
}

h1,
.heading-1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
}

h2,
.heading-2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
}

h3,
.heading-3 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
}

h4,
.heading-4 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
}

h5,
.heading-5 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
}

/* H E A D E A R */
header {
    a {
        color: var(--secondary);
    }
}

/* F O O T E R */
footer {
    a {
        color: var(--secondary) !important;
    }
}

/* B U T T O N S */
.btn {

    &:hover,
    &:focus,
    &:focus-visible {
        box-shadow: none;
    }

    &.btn-primary {
        background-color: var(--primary);
        border-color: var(--primary);

        &:hover,
        &:focus,
        &:focus-visible {
            color: var(--primary);
            background-color: var(--secondary);
            border-color: var(--primary);
        }
    }

    &.btn-secondary {
        color: var(--primary);
        background-color: var(--secondary);

        &:hover,
        &:focus,
        &:focus-visible {
            color: var(--secondary);
            background-color: var(--primary);
            border-color: var(--primary);
        }
    }
}

/* I T E M  L I S T */
.elementor-widget-icon-list {
    &.affiliate-biasa {
        .elementor-icon-list-items {
            padding-left: 0 !important;

            .elementor-icon-list-item {
                padding: 16px 0px 16px 16px;
                background-color: #F9F9F9;
                margin-bottom: 14px;
                border-radius: 12px;
                border: 1px solid rgba(36, 65, 142, 0.14);

                .elementor-icon-list-icon {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 22px;
                    height: 22px;
                    background-color: #434343;
                    border-radius: 50%;

                    svg {
                        margin-left: 3px;
                    }
                }
            }
        }
    }

    &.affiliate-herbalking {
        .elementor-icon-list-items {
            padding-left: 0 !important;

            .elementor-icon-list-item {
                padding: 16px 0px 16px 16px;
                background-color: #DBE6FF;
                margin-bottom: 14px;
                border-radius: 12px;
                border: 1px solid #24418E;

                .elementor-icon-list-icon {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 22px;
                    height: 22px;
                    background-color: #24418E;
                    border-radius: 50%;

                    svg {
                        margin-left: 3px;
                    }
                }
            }
        }
    }
}

/* R E W A R D  C A L C U L A T O R */
#rewardCalculator {
    --reward-blue: #24418e;
    --reward-border: #c7d2f0;
    --reward-green: #0e4924;

    width: 100%;
    max-width: 530px;
    overflow: hidden;
    border-radius: 12px;
    background: #f7f9fd;
    color: var(--reward-blue);
    font-family: "Poppins", sans-serif;
}

#rewardCalculator *,
#rewardCalculator *::before,
#rewardCalculator *::after {
    box-sizing: border-box;
}

/* Header */

#rewardCalculator .reward-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--reward-border);
    font-size: 16px;
    font-weight: 700;
}

#rewardCalculator .reward-content {
    padding: 20px 16px;
}

#rewardCalculator .reward-title {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
}

/* Form Container */

#rewardCalculator .reward-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--reward-border);
    border-radius: 16px;
}

/* Input Fields */

#rewardCalculator .reward-fields {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
}

#rewardCalculator .reward-field {
    min-width: 0;
}

#rewardCalculator .reward-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}

#rewardCalculator .reward-input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px;
    border: 1px solid var(--reward-border);
    border-radius: 10px;
    background: #fff;
    color: var(--reward-blue);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
}

#rewardCalculator .reward-input:focus {
    outline: 2px solid var(--reward-blue);
    outline-offset: 2px;
}

/* Level and Bonus */

#rewardCalculator .reward-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
}

#rewardCalculator .reward-note {
    font-size: 11px;
    font-weight: 500;
    text-align: right;
}

#rewardCalculator .reward-context-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

#rewardCalculator .reward-context-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 64px;
    padding: 10px 16px;
    border-radius: 10px;
    background: #dbe6ff;
}

#rewardCalculator .reward-context-label {
    font-size: 11px;
}

#rewardCalculator .reward-context-item strong {
    font-size: 18px;
    line-height: 1.4;
}

#rewardCalculator .reward-level-description {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.6;
}

/* Calculate Button */

#rewardCalculator .reward-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    padding: 12px;
    border: 0;
    border-radius: 999px;
    background: var(--reward-blue);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

#rewardCalculator .reward-button:hover {
    background: #1b3270;
}

#rewardCalculator .reward-button:focus-visible {
    outline: 2px solid var(--reward-blue);
    outline-offset: 3px;
}

/* Result Card */

#rewardCalculator .reward-result {
    padding: 16px 12px;
    border-radius: 12px;
    background: #eaf7f0;
    color: var(--reward-green);
}

#rewardCalculator .reward-result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

#rewardCalculator .reward-result-label {
    font-size: 14px;
    font-weight: 600;
}

#rewardCalculator .reward-amount {
    font-size: 20px;
    line-height: 1.4;
    text-align: right;
    overflow-wrap: anywhere;
}

#rewardCalculator .reward-result-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #dce1ef;
}

#rewardCalculator .reward-status-label {
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 500;
}

#rewardCalculator .reward-status-description {
    font-size: 11px;
    line-height: 1.5;
}

#rewardCalculator .reward-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 999px;
    background: #3bb54e;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

/* Responsive Layout */

@media (max-width: 420px) {
    #rewardCalculator .reward-content {
        padding: 16px 12px;
    }

    #rewardCalculator .reward-form {
        padding: 12px;
    }

    #rewardCalculator .reward-title {
        font-size: 21px;
    }

    #rewardCalculator .reward-fields {
        grid-template-columns: 1fr;
    }

    #rewardCalculator .reward-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    #rewardCalculator .reward-context-item {
        padding: 10px;
    }

    #rewardCalculator .reward-result-header {
        flex-direction: column;
    }

    #rewardCalculator .reward-amount {
        text-align: left;
    }
}

/* P A G I N A T I O N */
.pagination {
    .page-item {
        &.active {
            .page-link {
                background-color: var(--primary);
                color: var(--secondary);
                border-color: var(--primary);
            }
        }

        .page-link {
            color: var(--primary);
        }
    }
}

/* A C C O R D I O N */
.elementor-widget-n-accordion {
    &.faq {
        .e-n-accordion {
            .e-n-accordion-item {
                padding: 10px 40px;
                margin-bottom: 10px;
                border-radius: 10px;
                border-bottom: 1px solid rgba(26, 43, 107, 0.14);
                background: rgba(255, 255, 255, 0.63);

                .e-n-accordion-item-title {}

                .e-con.e-child {
                    border: none;
                }
            }
        }
    }
}