/**
 * TomS Video Player - Frontend Styles
 * Version: 2.1.9
 */

/* Player container */
.toms-video-player {
    max-width: 100%;
    position: relative;
    margin-bottom: 1em;
}

/* Casting button container */
.toms-casting-button {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    padding: 5px;
    display: inline-block;
    position: relative;
    z-index: 5;
    text-align: right;
    margin-bottom: 5px;
}

/* Google Cast launcher styles */
google-cast-launcher {
    display: inline-block;
    --connected-color: #4285f4;
    --disconnected-color: #ffffff;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

/* Mobile cast button */
.toms-mobile-cast-button {
    background-color: transparent;
    border: none;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    padding: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.toms-mobile-cast-button svg {
    fill: #FFFFFF;
}

.toms-mobile-cast-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Cast instructions modal */
.toms-cast-instructions-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toms-cast-instructions-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 80%;
    overflow-y: auto;
}

.toms-cast-device-specific {
    margin: 15px 0;
    padding: 10px;
    background-color: #f5f5f5;
    border-left: 4px solid #007cba;
}

.toms-cast-dismiss-button {
    display: block;
    margin: 15px auto 0;
    padding: 8px 16px;
    background-color: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Video element */
.toms-video-player video {
    max-width: 100%;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .toms-casting-button {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 10;
    }
} 