.service-tile {
    width: 150px;
    height: 150px;
    border: 2px solid lightgray;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Style when the tile is checked */
.service-tile.checked {
    border-color: #3b82f6; /* Tailwind's blue-500 */
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.service-logo {
    width: 100px;
    height: 100px;
    display: block; /* Ensures SVG scales and behaves like a block-level element */
}

.hidden {
    display: none;
}

.number-input-container {
    position: relative;
    display: inline-block;
}
.number-input-container input {
    padding-right: 3rem; /* Adjust padding for unit */
}
.number-input-container .unit {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-weight: bold;
    color: #4a5568; /* Gray-700 */
}

/* Hide the actual radio input */
input[type="radio"] {
    display: none;
}

.pointer {
    cursor: pointer;
}

/* Tooltip */
.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-container .tooltip-text {
    visibility: hidden;
    max-width: 50%;
    min-width: 150px;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 4px;

    float: left;
    clear: left;

    /* Position the tooltip */
    position: absolute;
    bottom: 125%;
    /* Show above the button */
    left: 50%;
    transform: translateX(-50%);

    /* Fade in/out effect */
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Button with loading spin */
.btn-loading {
    cursor: pointer;
}

.btn-loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #333;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ADMIN STYLES */

.bg-admin-gold {
    --tw-bg-opacity: 1;
    background: linear-gradient(45deg, rgba(255, 215, 0, var(--tw-bg-opacity)) 0%, rgba(202, 138, 4, var(--tw-bg-opacity)) 50%, rgba(255, 223, 63, var(--tw-bg-opacity)) 100%);
    position: relative;
}