/* Font Imports */
@import url('https://fonts.cdnfonts.com/css/riffic-free');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

/* General Styles */
html,
body {
    font-family: "Ubuntu", sans-serif;
}

a {
    color: rgb(255, 173, 9);
    text-decoration: none;
}

#pawCounter {
    font-family: 'Riffic Free', sans-serif;
}

.title {
    font-family: 'Riffic Free', sans-serif;
    font-weight: bold;
}

.poiner {
    cursor: pointer;
}

.item-text {
    text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
}

.credits-picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.category-button {
    font-family: 'Riffic Free', sans-serif;
    cursor: pointer;
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */
}

/* Paw Button Styles */
.paw-button {
    width: 200px;
    height: 200px;
    background-size: auto;
    border: none;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: transform 0.05s ease;
}

.paw-button:active {
    transform: scale(0.9);
}

/* Counter Div Styles */
.counter-div {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 6px 6px;
    margin-bottom: 100px;
}

/* Clicker Area Styles */
#clickerArea {
    position: relative;
    overflow: hidden;
}

/* Keyframes for Falling Paw Animation */
@keyframes fall {
    0% {
        top: -50px;
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Falling Paw Icon Styles */
.paw-icon {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url('../assets/imgs/paw-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    animation: fall 3s linear forwards;
}

/* Shop Items Scroller Styles */
#shopItems {
    height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    /* For Firefox */
    scrollbar-color: #888 #333;
    /* For Firefox */
}

#shopItems::-webkit-scrollbar {
    width: 12px;
}

#shopItems::-webkit-scrollbar-track {
    background: #333;
    border-radius: 10px;
}

#shopItems::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
    border: 2px solid #333;
}

#shopItems::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

/* Upgrade Items Scroller Styles */
#upgrades {
    height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    /* For Firefox */
    scrollbar-color: #888 #333;
    /* For Firefox */
}

#upgrades::-webkit-scrollbar {
    width: 12px;
}

#upgrades::-webkit-scrollbar-track {
    background: #333;
    border-radius: 10px;
}

#upgrades::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
    border: 2px solid #333;
}

#upgrades::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

/* Pointer & Selection Styles */
.pointer {
    cursor: pointer;
}

.no-selection {
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */
}

/* Item Styles */
#upgrades {
    font-family: 'Riffic Free', sans-serif;
}

.item {
    position: relative;
    font-family: 'Riffic Free', sans-serif;
    background-color: rgba(60, 60, 60, 0.8);
    border-radius: 5px;
    margin-bottom: 15px;
    margin-right: 10px;
    overflow: hidden;
    cursor: pointer;
    min-height: 82px;
    max-height: 82px;
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */
}

.item img {
    position: absolute;
    top: 65%;
    left: 0;
    transform: translate(0%, -50%);
    width: 120px;
    z-index: 1;
}

.item-content {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 90px;
    z-index: 2;
}

.item-content p {
    margin: 0;
    color: white;
}

.item-title {
    font-size: 24px;
    font-weight: bold;
}

.item-price {
    font-size: 16px;
}

.item-count {
    font-size: 24px;
    font-weight: bold;
    margin: auto 0;
    /* Center vertically */
}

/* Tooltip Description Styles */
.item .description {
    display: none;
    position: absolute;
    font-family: "Ubuntu", sans-serif;
    font-size: 14px;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.item:hover .description {
    display: block;
}

.item .text-start {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    right: 100px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.item .text-end {
    position: absolute;
    z-index: 1;
}

/* Notification Styles */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1000;
}

.notification.show {
    opacity: 1;
}

/* Custom Checkbox (Switch) */
.form-check-input:checked {
    background-color: rgb(255, 173, 9);
    border-color: rgb(255, 173, 9);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 173, 9, 0.5);
}

/* Custom Radio Button */
.form-check-input[type="radio"]:checked {
    background-color: rgb(255, 173, 9);
    border-color: rgb(255, 173, 9);
}

.form-check-input[type="radio"]:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 173, 9, 0.5);
}

/* Custom Range Slider */
.form-range::-webkit-slider-thumb {
    background-color: rgb(255, 173, 9);
    border: 1px solid rgb(255, 173, 9);
}

.form-range::-moz-range-thumb {
    background-color: rgb(255, 173, 9);
    border: 1px solid rgb(255, 173, 9);
}

.form-range::-ms-thumb {
    background-color: rgb(255, 173, 9);
    border: 1px solid rgb(255, 173, 9);
}

/* Custom focus style for range input */
.form-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 0.25rem rgba(255, 173, 9, 0.5);
}

.form-range:focus::-moz-range-thumb {
    box-shadow: 0 0 0 0.25rem rgba(255, 173, 9, 0.5);
}

.form-range:focus::-ms-thumb {
    box-shadow: 0 0 0 0.25rem rgba(255, 173, 9, 0.5);
}

/* Custom Select Box Focus Style */
.form-select:focus {
    border-color: rgb(255, 173, 9);
    box-shadow: 0 0 0 0.20rem rgba(255, 173, 9, 0.5);
}

.form-control:focus {
    border-color: rgb(255, 173, 9);
    box-shadow: 0 0 0 0.20rem rgba(255, 173, 9, 0.5);
}