/* Calculator Currency Switcher — style.css v2.0 */

/* ── Wrapper ── */
.ccs-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.ccs-pos-left   { justify-content: flex-start; }
.ccs-pos-center { justify-content: center; }
.ccs-pos-right  { justify-content: flex-end; }

/* Inline variant (injected above a calculator) */
.ccs-inline {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 14px;
}

/* ── Label ── */
.ccs-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}

/* ── Select wrapper ── */
.ccs-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* ── The dropdown itself ── */
.ccs-select {
    appearance: none;
    -webkit-appearance: none;
    padding: 9px 36px 9px 12px;
    border: 1.5px solid #d0d0d0;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    background: #ffffff;
    cursor: pointer;
    outline: none;
    min-width: 230px;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}

.ccs-select:hover  { border-color: #888; }
.ccs-select:focus  {
    border-color: #6C3EF4;
    box-shadow: 0 0 0 3px rgba(108,62,244,.1);
}

/* Chevron arrow */
.ccs-chevron {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #888;
    pointer-events: none;
    line-height: 1;
}

/* Inline variant — slightly tighter */
.ccs-inline .ccs-select {
    min-width: 210px;
    padding: 8px 32px 8px 10px;
    border-color: #d8d8d8;
    border-radius: 8px;
    font-size: 13px;
}

.ccs-inline .ccs-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .4px;
}

/* Responsive */
@media (max-width: 420px) {
    .ccs-select     { min-width: 170px; font-size: 12px; }
    .ccs-inline     { padding: 8px 10px; }
}
