/* Custom styles if needed, but Tailwind should cover most. */
/* Ensure font-family Inter is applied if not default */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6; /* Light gray background */
}
/* Style the range input (slider) for better appearance */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #d1d5db; /* Gray track */
    outline: none;
    opacity: 0.7;
    transition: opacity .15s ease-in-out;
    border-radius: 4px;
}
input[type="range"]:hover {
    opacity: 1;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f97316; /* Orange thumb */
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f97316; /* Orange thumb */
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
.ad-unit-placeholder {
    min-height: 90px; /* Minimum height for leaderboard (728x90) */
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 0.9rem;
    border-radius: 8px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}
/* Hide spinner for number input */
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type='number'] {
    -moz-appearance: textfield;
}
/* Custom scrollbar for better aesthetics */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #f97316;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ea580c;
}

/* Custom button styles for gradients/shadows */
.btn-orange {
    background: linear-gradient(to right, #f97316, #ea580c);
    box-shadow: 0 4px 6px rgba(249, 115, 22, 0.4);
    border: none;
}
.btn-orange:hover {
    background: linear-gradient(to right, #ea580c, #c2410c);
    box-shadow: 0 6px 8px rgba(249, 115, 22, 0.6);
}
.btn-blue {
    background: linear-gradient(to right, #3b82f6, #2563eb);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.4);
    border: none;
}
.btn-blue:hover {
    background: linear-gradient(to right, #2563eb, #1d4ed8);
    box-shadow: 0 6px 8px rgba(59, 130, 246, 0.6);
}
.btn-green {
    background: linear-gradient(to right, #22c55e, #16a34a);
    box-shadow: 0 4px 6px rgba(34, 197, 94, 0.4);
    border: none;
}
.btn-green:hover {
    background: linear-gradient(to right, #16a34a, #15803d);
    box-shadow: 0 6px 8px rgba(34, 197, 94, 0.6);
}

/* Go to Top Button styles */
#goToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap other elements */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #f97316; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Add shadow */
    transition: background-color 0.3s, transform 0.3s; /* Smooth transition */
}

#goToTopBtn:hover {
    background-color: #ea580c; /* Darker background on hover */
    transform: translateY(-2px); /* Slightly raise button on hover */
}
#goToTopBtn:active {
    transform: translateY(0); /* Press effect */
}
