@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=IBM+Plex+Mono:wght@400;500&family=Inter:wght@400;500;600&display=swap');

body {
    background-color: #f5f0e8;
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

input[type="number"], select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #e0dbd2;
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    background-color: #ffffff;
}

input[type="number"]:focus, select:focus {
    border-color: #1a1a1a;
}

input[type="range"] {
    width: 100%;
    accent-color: #1a1a1a;
    cursor: pointer;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}
.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    border-radius: 0;
    padding: 8px;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.7rem;
    line-height: 1.2;
    font-weight: normal;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.ad-container {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px dashed #c0bab2;
    border-radius: 0;
    margin: 0;
    color: #94a3b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#toast {
    visibility: hidden;
    min-width: 200px;
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    border-radius: 0;
    padding: 12px;
    position: fixed;
    z-index: 50;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 0.875rem;
}
#toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
@keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 30px; opacity: 1;} }
@keyframes fadeout { from {bottom: 30px; opacity: 1;} to {bottom: 0; opacity: 0;} }
