.main_text{
    font-size: 1.65rem !important;
}

.bg-theme-main{
    background-color: rgb(233, 231, 231) !important;
}

/*************************** Video Player Theme ***********************************/
body {
    margin: 0 !important;
    font-family: 'Inter', sans-serif;
}

.player-container {
    position: relative;
    width: 100%;
    height: 56.25vw;
    max-height: 100vh;
    background: black;
    overflow: hidden;
}

#adPlayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (orientation: portrait) {
    .player-container {
        display: none;
    }

    .rotate-message {
        display: block;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: white;
        background: rgba(0, 0, 0, 0.8);
        padding: 20px;
        border-radius: 10px;
        font-size: 18px;
        z-index: 9999;
    }
}

@media (orientation: landscape) {
    .rotate-message {
        display: none;
    }
}

.video-info {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    z-index: 10;
}

.video-title {
    font-size: 18px;
    font-weight: bold;
}

.video-description {
    font-size: 14px;
    color: #ccc;
}

.next-video-message {
    position: absolute;
    bottom: 30px;
    right: 0;
    color: white;
    font-size: 14px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 4px 0 0 4px;
    display: none;
}

.custom-controls {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: rgba(0, 0, 0, 0.452);
}

.control-button {
    color: white;
    font-size: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.control-button:focus {
    outline: none;
}

.progress-bar {
    flex-grow: 1;
    height: 5px;
    background: #555;
    margin: 0 10px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.progress-bar-inner {
    width: 0;
    height: 100%;
    background: rgb(224, 165, 1);
    position: absolute;
    left: 0;
    top: 0;
    transition: width 0.1s linear;
}

.time-remaining {
    color: white;
    font-size: 14px;
    z-index: 10;
    padding-right: 10px;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    display: none;
    z-index: 20;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/*************************** End of Video Player Theme ***********************************/

/*************************** Login Theme ***********************************/
.login-card {
    max-width: 360px;
    width: 100%;
    background: #fff;
    border: none;
}

.logo {
    width: 50px;
    height: 50px;
}

.custom-input {
    height: 50px;
    border-radius: 12px !important;
    border: 1px solid #ddd !important;
    padding-left: 15px;
    background-color: #f8f8f8;
    font-size: 0.9rem;
    box-shadow: none;
}

.custom-input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

.custom-btn {
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(to bottom, #000, #333);
    border: none;
    color: #fff;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

button.custom-btn:hover {
    background: linear-gradient(to bottom, #444, #222);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

p {
    font-size: 0.9rem;
    color: #6c757d;
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #dc3545;
    color: #fff;
    border-radius: 5px;
    border: none;
    padding: 10px 20px;
    max-width: 70%;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: toastFadeIn 0.3s forwards, toastFadeOut 0.3s forwards 1.7s;
}

.toast.success {
    background-color: #198754;
    color: #fff;
}

.toast:not(.show) {
    display: block !important;
}

.toast.error {
    background-color: #dc3545;
    color: #fff;
}

@keyframes toastFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastFadeOut {
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/*************************** End of Login Theme ***********************************/