
.billardpad_context_menu {
    display: block;
    position: absolute;
    width: 240px;
    background-color: white;
    box-shadow: 0 0 5px grey;
    border-radius: 3px;
}

.billardpad_context_menu button {
    font-size:11pt;
    width: 100%;
    background-color: white;
    border: none;
    margin: 0;
    padding: 10px;
}

.billardpad_context_menu button:hover {
    background-color: lightgray;
}
    
.billardpad_color-picker{
	width: 90%;
	align: right;
    background: #d3d3d3;
	border:none;
	margin:5px;
}

.billardpad_context_menu select{
	width: 90%;
	align: right;
    background: #d3d3d3;
	border:none;
	margin:5px;
}

.billardpad_context_menu input[type="number"]{
	width: 90%;
	align: right;
    background: #d3d3d3;
	border:none;
	margin:5px;
}
	
.billardpad_slider {
    -webkit-appearance: none;
    width: 90%;
    height: 25px;
    align: right;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.billardpad_slider:hover {
    opacity: 1;
}

.billardpad_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #04AA6D;
    cursor: pointer;
}

.billardpad_slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #04AA6D;
    cursor: pointer;
}

.billardpad_input_label{
    font-size:11pt;
    text-align:right;
}

/*****************************************************************************\
  #Drill Ratings and Difficulty Styling - DRILLS.PHP
\*****************************************************************************/

.tagger {
    margin: 10px 5px 10px 0;
    width:100%;
    min-height:50px;
}

.tagger .tagger-new input {
    padding:4px 0;
}

/* Rating and Difficulty Styling */
.drill_ratings_container {
    margin-top: 10px;
    clear: both;
    padding: 8px 0;
    border-top: 1px solid #e0e0e0;
}

.rating-top-right {
    position: absolute;
    top: 10px;
    right: 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    z-index: 10;
}

.rating-top-right .star-rating {
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

.rating-top-right .rating-info {
    display: none;
}

.rating-top-right .star-rating i.fa-star,
.rating-top-right .star-rating i.far.fa-star,
.rating-top-right .star-rating i.fas.fa-star {
    cursor: pointer !important;
    font-size: 14px !important;
    width: 14px !important;
    height: 14px !important;
    line-height: 14px !important;
    transition: all 0.2s ease;
    padding: 1px !important;
    margin: 0 !important;
    color: #ddd !important;
    background-color:transparent;
}

.rating-top-right .star-rating i.fa-star.active,
.rating-top-right .star-rating i.fa-star:hover {
    color: #ffc107 !important;
    transform: scale(1.2);
}

.difficulty-section {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.difficulty-section span:first-child {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    min-width: 70px;
}

.difficulty-dropdown {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    background-color: #fff;
    min-width: 180px;
}

.difficulty-dropdown:hover {
    border-color: #007bff;
}

.difficulty-info {
    font-size: 12px;
    color: #666;
    margin-left: 4px;
}

.favorite-btn {
    transition: all 0.2s ease;
}

.favorite-btn:hover {
    transform: scale(1.15);
}

.favorite-btn.favorited {
    color: #ffc107 !important;
}