/* ==========================================
   SmartMyTools - Standard Deviation Calculator
   Calculator-Specific Styles
   ========================================== */


/* Number Input */

#dataInput {
    width: 100%;
    min-height: 120px;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #ffffff;
    color: #222;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    resize: vertical;
}

#dataInput:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

#dataInput::placeholder {
    color: #64748b;
}


/* Population / Sample Selection */

.data-type-selection {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.selection-label {
    color: #333;
    font-weight: 600;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333;
    cursor: pointer;
}

.radio-option input {
    margin: 0;
    accent-color: #2563eb;
}


/* Result Cards */

.calculator-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 12px;
    padding: 14px 16px;

    background: #f4f8fc;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
}

.calculator-result span {
    color: #123f68;
    font-size: 14px;
    font-weight: 600;
}

.calculator-result strong {
    color: #123f68;
    font-size: 16px;
    font-weight: 700;
    text-align: right;
}


/* Mobile */

@media (max-width: 480px) {

    .data-type-selection {
        justify-content: flex-start;
        gap: 8px;
    }

    .calculator-result {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .calculator-result strong {
        text-align: left;
    }

}

/* ==========================================
   BOTTOM STICKY AD
   DESKTOP + MOBILE
========================================== */

.bottom-sticky-ad {
    display: flex;

    position: fixed;

    left: 50%;
    bottom: 0;

    transform: translateX(-50%);

    width: min(970px, calc(100% - 40px));

    min-height: 90px;

    z-index: 9998;

    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border: 1px solid #d9e0e7;
    border-bottom: none;

    border-radius: 8px 8px 0 0;

    background: #eef1f5;

    color: #94a3b8;

    font-size: 14px;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    .bottom-sticky-ad {
        left: 0;
        right: 0;

        bottom: 0;

        transform: none;

        width: 100%;

        min-height: 60px;

        border-radius: 0;

        border-left: none;
        border-right: none;
        border-bottom: none;

        border-top: 1px solid #d9e0e7;

        z-index: 9999;
    }

}