/* ============================= */
/* ZCC – FULL ISOLATED STYLES  */
/* ============================= */

.zcc-wrapper {
    all: initial;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #fff0f3;
    padding: 20px;
    font-family: "Comic Neue", cursive;
}

/* Reset everything inside plugin only */
.zcc-wrapper *,
.zcc-wrapper *::before,
.zcc-wrapper *::after {
    box-sizing: border-box;
    font-family: "Comic Neue", cursive;
}

/* ============================= */
/* MAIN CARD */
/* ============================= */

.zcc-wrapper .zcc-container {
    width: 100%;
    max-width: 700px;
    background-color: #FFC3CD;
    border-radius: 20px;
    text-align: center;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(255, 135, 135, 0.3);
}

/* ============================= */
/* HEADINGS */
/* ============================= */

.zcc-wrapper .zcc-container h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.zcc-wrapper .zcc-container > p {
    font-size: 20px;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* ============================= */
/* INPUT SECTION */
/* ============================= */

.zcc-wrapper .zcc-input-fields {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ============================= */
/* SELECT RESET + STYLE */
/* ============================= */

.zcc-wrapper select {
    all: unset;
    display: inline-block;
    width: 250px;
    height: 45px;
    padding: 0 40px 0 20px;
    border-radius: 100px;
    border: 2px solid rgb(255, 135, 135);
    font-size: 18px;
    background-color: #ffffff;
    cursor: pointer;
    line-height: 45px;
    text-align: left;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml;utf8,<svg fill='%23ff4e6f' height='14' viewBox='0 0 24 24' width='14' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px;
}

.zcc-wrapper select:focus {
    border: 2px solid rgb(203, 35, 35);
    outline: none;
    box-shadow: 0 0 8px rgba(203, 35, 35, 0.4);
}

/* ============================= */
/* BUTTON RESET + STYLE */
/* ============================= */

.zcc-wrapper button {
    all: unset;
    display: inline-block;
    background: linear-gradient(135deg, #ff4e6f, #ff274f);
    color: #ffffff;
    padding: 14px 30px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 77, 109, 0.3);
    text-align: center;
}

.zcc-wrapper button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(255, 77, 109, 0.5);
}

.zcc-wrapper button:active {
    transform: scale(0.95);
}

/* ============================= */
/* RESULT SECTION */
/* ============================= */

.zcc-wrapper .zcc-result-box {
    margin-top: 30px;
    min-height: 80px;
}

.zcc-wrapper #zcc-result-percentage {
    font-size: 40px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.zcc-wrapper #zcc-result-message {
    font-size: 20px;
    line-height: 1.4;
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 600px) {

    .zcc-wrapper .zcc-container {
        padding: 30px 20px;
    }

    .zcc-wrapper .zcc-container h1 {
        font-size: 26px;
    }

    .zcc-wrapper .zcc-container > p {
        font-size: 16px;
    }

    .zcc-wrapper select {
        width: 100%;
        max-width: 100%;
    }

    .zcc-wrapper #zcc-result-percentage {
        font-size: 32px;
    }
}