﻿/* =========================================================
   xPress24 TELEPROMPTER
   ========================================================= */

.xp-teleprompter {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: #000000;
    color: #ffffff;
    overflow: hidden;
    font-family: "Noto Sans Telugu", "Nirmala UI", sans-serif;
}


/* =========================================================
   TITLE
   ========================================================= */

.xp-teleprompter-title {
    flex: 0 0 auto;
    padding: 15px 30px 12px;
    color: #ff3030;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    border-bottom: 1px solid #222222;
}

.xp-teleprompter-short {
    min-width: 0;
    padding: 20px 25px;
    overflow-y: auto;
    border-right: 1px solid #333333;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.55;
    text-align: left;
}

.xp-teleprompter-full {
    min-width: 0;
    padding: 20px 30px;
    overflow-y: auto;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.55;
    text-align: left;
}

/* =========================================================
   CONTENT
   ========================================================= */

.xp-teleprompter-content {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 30% 70%;
    overflow: hidden;
}


/* =========================================================
   SHORT DESCRIPTION
   ========================================================= */

.xp-teleprompter-short {
    min-width: 0;
    padding: 40px 35px;
    overflow-y: auto;
    border-right: 2px solid #333333;
    color: #ffffff;
    font-size: clamp(20px, 1.6vw, 30px);
    line-height: 1.65;
    text-align: left;
}


/* =========================================================
   FULL CONTENT
   ========================================================= */

.xp-teleprompter-full {
    min-width: 0;
    padding: 40px 50px;
    overflow-y: auto;
    color: #ffffff;
    font-size: clamp(20px, 1.6vw, 30px);
    line-height: 1.65;
    text-align: left;
}


    /* Article HTML */

    .xp-teleprompter-full p {
        margin: 0 0 24px;
    }

    .xp-teleprompter-full img {
        max-width: 100%;
        height: auto;
    }

    .xp-teleprompter-full h1,
    .xp-teleprompter-full h2,
    .xp-teleprompter-full h3 {
        color: #ffffff;
    }


/* =========================================================
   CONTROLS
   ========================================================= */

.xp-teleprompter-controls {
    flex: 0 0 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    background: #080808;
    border-top: 1px solid #222222;
}


    .xp-teleprompter-controls button {
        border: 1px solid #444444;
        background: #111111;
        color: #ffffff;
        padding: 8px 18px;
        border-radius: 4px;
        font-family: inherit;
        font-size: 16px;
        cursor: pointer;
    }


        .xp-teleprompter-controls button:hover {
            background: #222222;
        }


        .xp-teleprompter-controls button:disabled {
            opacity: 0.3;
            cursor: default;
        }


.xp-teleprompter-counter {
    min-width: 80px;
    text-align: center;
    color: #888888;
    font-size: 16px;
}


/* =========================================================
   LOADING
   ========================================================= */

.xp-teleprompter-loading {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 30px;
}




.xp-teleprompter-interval {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aaaaaa;
    font-size: 15px;
}

    .xp-teleprompter-interval label {
        color: #888888;
    }

    .xp-teleprompter-interval input {
        width: 65px;
        padding: 7px 8px;
        border: 1px solid #444444;
        border-radius: 4px;
        background: #111111;
        color: #ffffff;
        font-family: inherit;
        font-size: 15px;
        text-align: center;
    }

        .xp-teleprompter-interval input:focus {
            outline: none;
            border-color: #777777;
        }