/**
 * Badge Scheduler - Front-end styles
 */

 .badge-scheduler-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    margin: 10px 0;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    z-index: 100;
    /* Add transition for opacity to enable smooth fade effects */
    opacity: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.8s ease;
}

.badge-scheduler-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
    text-decoration: none;
}

/* Badge image styles */
.badge-scheduler-badge .badge-image {
    height: 1.2em;
    width: auto;
    max-height: 25px;
    max-width: 50px;
    vertical-align: middle;
    margin-right: 12px;
    display: inline-block;
    object-fit: contain;
}

/* Badge image styles */
.badge-scheduler-badge .badge-image img{
    margin-bottom: -5px !important;
	margin-right: 10px;
}

/* Badge icon styles */
.badge-scheduler-badge i {
    font-size: 1.2em;
    margin-right: 12px;
    vertical-align: middle;
    display: inline-block;
}

/* Badge positioning */
.badge-position-left {
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
}

.badge-position-right {
    float: right;
    margin-left: 15px;
    margin-bottom: 10px;
}

/* Clear floats */
.badge-position-left::after,
.badge-position-right::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive styles */
@media screen and (max-width: 480px) {
    .badge-scheduler-badge {
        display: flex;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .badge-position-left,
    .badge-position-right {
        float: none;
        margin-left: 0;
        margin-right: 0;
    }
} 

.badge-scheduler-badge .badge-text {
    padding: 0 5px;
    display: inline-block;
    vertical-align: middle;
}

