﻿/* ===== ΚΑΝΟΝΙΚΑ CSS ΓΙΑ ΟΛΟΥΣ ΤΟΥΣ BROWSERS ===== */


.overlay {
    z-index: 0 !important;
}

.panel {
    background-color: rgba(2, 2, 2, 0.301) !important;
    top: 0px;
}

video.userCamera {
    width: 100%;
    height: 10%;     
}

div.myCameraPanel {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    width: 12.2rem;
    height: 14.6rem;
    border: 1px solid rgb(204, 204, 204);
    background-color: hsla(0, 0%, 0%, 0.486);
    border-radius: 6px;
}

#loginForm {
    transition: opacity 0.2s ease-in-out;
}

#loginForm.ani-ring {
    animation: quick-ring 0.5s ease-in-out;
}

@keyframes quick-ring {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

#loginStatusTxt {
    transition: opacity 0.1s ease-in-out;
}

div.myCamera {
    position: absolute;
    top: 0px;
    left: -20px;
    border-radius: 6px;
}

.myCameraicon {
    position: absolute;
    border-radius: 6px;
    box-shadow: rgb(255, 255, 255) 0px 0px 6px 2px;
    top: 0.5rem;
    left: 0.5rem;
    width: 11rem;
    height: 8.2rem;
    border-radius: 12px;
    background-image: linear-gradient(rgb(1 0 89), rgb(0 0 0));
}

#localCamera {
    position: absolute;
    width: 190px;
    height: 150px;
}

.myCamera {
    position: absolute;
    top: 0px;
}

div.history {
    position: absolute;
    top: 0.0rem;
    bottom: 7rem;
    right: 15.6rem;
    left: 13rem;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 6px;
    cursor: default;
    overflow-x: hidden;
    line-height: initial;
    background-color: hsla(0, 0%, 0%, 0.486);
}

.historyTxt {
    position: absolute;
    resize: none;
    height: 100%;
    width: 100%;
    left: 0;
    word-break: break-word;
    overflow-x: hidden;
    padding: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    border-radius: 6px;
    line-height: 1.0;
    scrollbar-width: thin;
    border: 1px solid #ccc;
}

div.publicMessage {
    position: absolute;
    bottom: 0.5rem;
    right: 15.6rem;
    left: 13rem;
    height: 6.2rem;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.6);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
    padding: 0.5rem;
    scrollbar-width: thin;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.publicTxt {
    position: absolute;
    resize: none;
    height: 55px;
    width: 100%;
    left: 0;
    top: 0;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgb(204, 204, 204);
    box-shadow: 0px 0px 10px 1px rgba(255, 255, 255, 0.8);
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    padding: 5px;
    scrollbar-width: thin;
    background-color: #f9f9f9;
    color: #333;
    border-radius: 6px;
}

div.exitPanel {
    position: absolute;
    top: 0.3rem;
    left: 10px;
}

div.roomList {
    position: absolute;
    top: 2.5rem;
    bottom: 15.4rem;
    left: 0.5rem;
    width: 12.2rem;
    line-height: 1.5;
    border: 1px solid rgb(204, 204, 204);
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 6px;
    scrollbar-width: thin;
    background-color: rgba(0, 0, 0, 0.6);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

div.userList {
    position: absolute;
    top: 2.5rem;
    bottom: 0.5rem;
    right: 0.3rem;
    width: 15rem;
    line-height: 1.5;
    border: 1px solid rgb(204, 204, 204);
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 6px;
    scrollbar-width: thin;
    background-color: rgba(0, 0, 0, 0.6);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

div.friendList {
    position: absolute;
    top: 2.5rem;
    bottom: 0.5rem;
    right: 0.3rem;
    width: 15rem;
    line-height: 1.5;
    border: 1px solid rgb(204, 204, 204);
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 6px;
    scrollbar-width: thin;
    background-color: rgba(0, 0, 0, 0.6);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.dialog {
    background-color: blueviolet;
    color: #eeeeee;
    border-radius: 6px;
}

.roomListLabel {
    position: absolute;
    text-align: left !important;
    left: 10px;
    top: 40px;
    border-radius: 6px;
}

.userListLabel {
    position: absolute;
    text-align: right !important;
    right: 150px;
    top: 60px;
    border-radius: 6px;
}

form.loginForm {
    width: 350px;
    height: fit-content;
    left: 0;
    right: 0;
    top: auto;
    margin: auto;
    position: absolute;
    z-index: 10;
    background-color: rgba(26, 26, 46, 0.95);
    box-shadow: rgb(255, 255, 255) 0px 0px 20px 1px;
    border-radius: 6px;
    zoom: 88%;
}



form.registerForm {
    width: 350px;
    height: fit-content;
    left: 0;
    right: 0;
    top: auto;
    margin: auto;
    position: absolute;
    z-index: 10;
    background-color: rgba(26, 26, 46, 0.95);
    box-shadow: rgb(255, 255, 255) 0px 0px 20px 1px;
    border-radius: 6px;
    zoom: 88%;
}

.icon-container {
    position: relative;
    display: flex;
    justify-content: flex-end;
    margin-top: 0px;
    left: 0px;
}

.animated-icon {
    color: #007bff;
    animation: spin 2s linear infinite, fadeIn 1.5s ease-in-out;
    margin-top: -10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

header.chatBack {
    visibility: hidden;
}

div.privatMessagePanel {
    visibility: hidden;
}

/* text effect */
h1 {
    animation: pulseGlow 5s ease-in-out infinite, 
               colorShift 10s linear infinite, 
               slideInFromRight 1s ease-out forwards;
    display: block;
    width: 100%;
    padding: 40px;
    line-height: 1.5;
    font: 800 3em 'Concert One', sans-serif;
    text-transform: uppercase;
    position: relative;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    transform: perspective(1000px) rotateX(20deg) rotateY(15deg) translateZ(0);
    will-change: transform, opacity;
    opacity: 0;
    transform: translateX(100%);
}

@keyframes pulseGlow {
    0%, 100% {
        text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.6);
        transform: scale(1);
    }
    50% {
        text-shadow: 4px 4px 6px rgba(255, 255, 255, 0.8);
        transform: scale(1.05);
    }
}

@keyframes colorShift {
    0% { color: red; }
    25% { color: orange; }
    50% { color: limegreen; }
    75% { color: cyan; }
    100% { color: red; }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

#registerBtn {
    background-color: transparent;
    outline: 0;
    border: 0;
    cursor: pointer;
}

#returnLoginBtn {
    background-color: transparent;
    outline: 0;
    border: 0;
    cursor: pointer;
}

/*login*/
#loginBtn {
    color: #FFFFFF;
    background-color: #00CC00;
    border-radius: 25px;
    padding: 0px 30px;
    font-size: 16px;
}

/*Register*/
#genderSelect {
    position: absolute;
    top: 310px;
    height: 30px;
    width: 130px;
}

#countrySelect {
    position: absolute;
    height: 30px;
    width: 130px;
    top: 310px;
    left: 192px;
}

#regBtn {
    background-color: #FF3300;
    color: #FFFFFF;
    border-radius: 25px;
    padding: 0px 30px;
    font-size: 16px;
}

/* exit panel */
#exitBtn {
    position: absolute;
    left: -0.2rem;
    top: 0rem;
    height: 2rem;
    width: 65px;
    border: none;
    color: white;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    cursor: pointer;
    background-color: rgb(1, 0, 70);
    color: white;
    border: 2px solid #4CAF50;
}

#exitBtn:hover {
    background-color: #4CAF50;
    color: white;
}

#settingBtn {
    position: relative;
    top: 0rem;
    left: 7.6rem;
    height: 2rem;
    width: 4.5rem;
    border: none;
    color: white;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    cursor: pointer;
    background-color: rgb(1, 0, 70);
    color: white;
    border: 2px solid #4CAF50;
}

#settingBtn:hover {
    background-color: #4CAF50;
    color: white;
}

#gameBtn {
    position: absolute;
    cursor: pointer;
    top: 4px;
    left: 95px;
    height: 22px;
}

#offMsgBtn {
    position: absolute;
    top: 0.2rem;
    left: 65px;
    height: 24px;
    cursor: pointer;
}

#offMsgLbl {
    position: absolute;
    padding-left: 2px;
    padding-right: 2px;
    color: #FFFFFF;
    top: 0.4rem;
    left: 60px;
    background-color: #FF3300;
    font-size: 12px;
    font-weight: bold;
    font-style: normal;
    width: auto;
}

/*My camera panel*/
#usernameLbl {
    position: absolute;
    font-family: 'Roboto', sans-serif;
    top: 0.1rem;
    left: 16px;
    height: 54px;
    text-transform: capitalize;
    font-weight: bold;
    font-size: 16px;
    color: rgb(215, 0, 215);
    z-index: 1;
    line-height: 54px;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#camPauseLbl {
    visibility: hidden;
    position: absolute;
    padding-left: 2px;
    padding-right: 2px;
    color: #FFFFFF;
    top: 90px;
    left: 35px;
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
    width: auto;
}

#micTalkBtn {
    position: absolute;
    top: 170px;
    left: 62px;
    height: 32px;
    width: 60px;
    background-color: rgb(1, 0, 70);
    border: double #00ffff;
    border-radius: 6px;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

#camMuteBtn {
    position: absolute;
    top: 173px;
    left: 2%;
    cursor: pointer;
    height: 21px;
    width: 21px;
}

#devicesBtn {
    position: absolute;
    top: 202px;
    left: 3%;
    cursor: pointer;
    height: 20px;
    width: 20px;
}

#camBtn_ {
    position: absolute;
    width: 18px;
    height: 18px;
    cursor: pointer;
    top: 175px;
    left: 32px;
}

#micBtn_ {
    position: absolute;
    width: 18px;
    height: 18px;
    cursor: pointer;
    top: 175px;
    left: 135px;
}

#ytplBtn {
    position: absolute;
    top: 170px;
    left: 165px;
    cursor: pointer;
}

/*Room list panel*/
#addRoomBtn {
    z-index: 1;
    position: absolute;
    top: 0.3rem;
    left: 0.7rem;
    cursor: pointer;
    height: 20px;
    width: 20px;
}

#delRoomBtn {
    z-index: 1;
    position: absolute;
    top: 0.3rem;
    left: 9rem;
    cursor: pointer;
    height: 20px;
    width: 20px;
}

/*User list panel*/
#usersListBtn {
    position: absolute;
    cursor: pointer;
    top: 0.3rem;
    right: 10.8rem;
    width: 4.5rem;
    height: 2rem;
    color: white;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    background-color: #6200ea;
    border: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#usersListBtn:hover {
    background-color: #3700b3;
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
}

#usersListBtn {
    background-color: rgb(1, 0, 70);
    color: white;
    border: 2px solid #4CAF50;
}

#usersListBtn:hover {
    background-color: #4CAF50;
    color: white;
}

#friendsListBtn {
    position: absolute;
    cursor: pointer;
    top: 0.3rem;
    right: 6.5rem;
    height: 2rem;
    color: white;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 11px;
    color: white;
    width: 4.1rem;
    cursor: pointer;
    background-color: rgb(1, 0, 70);
    color: white;
    border: 2px solid #4CAF50;
}

#friendsListBtn:hover {
    background-color: #4CAF50;
    color: white;
}

#frRing {
    position: absolute;
    top: 10px;
    right: 155px;
}

#friendsListLbl {
    position: absolute;
    padding-left: 2px;
    padding-right: 2px;
    color: #FFFFFF;
    top: 12px;
    right: 155px;
    background-color: #FF3300;
    font-size: 12px;
    font-weight: bold;
    font-style: normal;
    width: auto;
}

#allUsersBtn {
    position: absolute;
    cursor: pointer;
    top: 2.6rem;
    right: 1.5rem;
    height: 22px;
    width: 22px;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    background-color: #6200ea;
    border: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

#allUsersBtn:hover {
    background-color: #3700b3;
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
}

#blockBtn1 {
    position: absolute;
    cursor: pointer;
    top: 0.3rem;
    right: 0.3rem;
    height: 2rem;
    color: white;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 11px;
    color: white;
    width: 6.0rem;
    cursor: pointer;
    background-color: rgb(1, 0, 70);
    color: white;
    border: 2px solid #4CAF50;
}

#blockBtn1:hover {
    background-color: #4CAF50;
    color: white;
}


/*User Info Window*/
#userInfo {
    border: medium groove #FF3300;
    position: absolute;
    border-radius: 6px;
    width: 195px;
    height: 330px;
    top: 55px;
    left: 219px;
    z-index: 5;
    right: 535px;
    background-color: rgb(1, 0, 70);
    visibility: hidden;
    box-shadow: rgb(255, 255, 255) 0px 0px 6px 1px;
}

#userImg {
    width: 187px;
    height: 190px;
    position: absolute;
    top: 1px;
    left: 1px;
}

#genderLbl {
    color: #FFFFFF;
    position: absolute;
    top: 193px;
    left: 70px;
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
}

#countryLbl {
    color: #FFFFFF;
    position: absolute;
    top: 228px;
    left: 5px;
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
}

#yearLbl {
    color: #FFFFFF;
    position: absolute;
    top: 210px;
    left: 5px;
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
}

#userDev {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 218px;
    left: 84%;
}

#sxolioDiv {
    display: block;
    overflow: hidden;
    color: #ffffff;
    font-size: 11px;
    position: absolute;
    top: 250px;
    left: 5px;
    border-style: groove;
    border-color: #FFFFFF;
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-weight: bold;
    border-top: 2px solid #ffffff;
    width: 180px;
    margin-top: 2px;
    text-shadow: 1px 1px 1px rgb(0, 0, 0), -1px 1px 1px rgb(0, 0, 0), 1px -1px 1px rgb(0, 0, 0), -1px -1px 1px rgb(0, 0, 0), 1px 1px 1px rgb(0, 0, 0), -1px 1px 1px rgb(0, 0, 0), 1px -1px 1px rgb(0, 0, 0), -1px -1px 1px rgb(0, 0, 0), 1px 1px 1px rgb(0, 0, 0), -1px 1px 1px rgb(0, 0, 0), 1px -1px 1px rgb(0, 0, 0), -1px -1px 1px rgb(0, 0, 0);
}

/*Public message panel*/
#sendPublicBtn {
    position: absolute;
    right: 1%;
    top: 64px;
    width: 90px;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 6px;
    cursor: pointer;
}

#inputPublicTxt {
    background-image: linear-gradient(rgb(1 0 89), rgb(0 0 0));
    border-radius: 6px;
    color: #FFFFFF;
}

#colorPickPublic {
    position: absolute;
    top: 65px;
    left: 115px;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.CcomboFontSize {
    position: absolute;
    top: 65px;
    left: 70px;
    height: 25px;
    width: 42px;
    font-size: medium;
    background-color: rgb(1, 0, 70);
    border: 1px solid rgb(204, 204, 204);
    border-radius: 6px;
    color: #FFFFFF;
    font-weight: normal;
    font-size: 14px;
    overflow: inherit;
    cursor: pointer;
    bottom: -10px;
}

#boldPublicBtn {
    position: absolute;
    top: 67px;
    left: 3px;
    height: 20px;
    width: 20px;
    cursor: pointer;
}

#italicPublicBtn {
    position: absolute;
    top: 67px;
    left: 25px;
    height: 20px;
    width: 20px;
    cursor: pointer;
}

#underlinePublicBtn {
    position: absolute;
    top: 67px;
    left: 47px;
    height: 20px;
    width: 20px;
    cursor: pointer;
}

#uploadPublicBtn {
    position: absolute;
    top: 61px;
    left: 142px;
    height: 32px;
    width: 30px;
    cursor: pointer;
}

#ytBtn {
    position: absolute;
    top: 65px;
    left: 175px;
    height: 25px;
    width: 25px;
    cursor: pointer;
}

.IsmlBtn {
    position: absolute;
    top: 64px;
    left: 203px;
    height: 25px;
    width: 25px;
    cursor: pointer;
}

#sndEfBtn {
    position: absolute;
    top: 64px;
    left: 227px;
    height: 28px;
    width: 30px;
    cursor: pointer;
}

#statusBtn {
    position: absolute;
    top: 66px;
    left: 256px;
    height: 24px;
    width: 22px;
    cursor: pointer;
}

#bannerBtn {
    position: absolute;
    top: 66px;
    left: 280px;
    height: 22px;
    width: 24px;
    cursor: pointer;
}

#extBtn {
    position: absolute;
    top: 64px;
    left: 350px;
    height: 25px;
    width: 33px;
    cursor: pointer;
}

#clearBtnMe {
    position: absolute;
    top: 64px;
    left: 308px;
    height: 20px;
    width: 20px;
    cursor: pointer;
    bottom: +9;
}

/*Progress circle*/
#progress {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: auto;
    visibility: hidden;
}

/* styles.css */
.div-style {
    background-color: #000066;
    background-image: linear-gradient(rgb(0, 40, 141), rgb(4, 4, 4));
    border-color: #000066;
    border-style: double;
    border-width: 2px;
}

.div-style:hover {
    background-color: #99bbff;
}

/* styles.css */
.label-style {
    color: #ffffff;
    position: absolute;
    font-size: var(--font-size, 16px);
    top: var(--top, 0px);
    left: var(--left, 0px);
}

/* styles.css */
.img-style {
    position: absolute;
}

.img-pic {
    width: 18px;
    height: 18px;
}

.img-lock {
    position: absolute;
    width: 10px;
    height: 12px;
    top: 10px;
    left: -4px;
}

.img-radio {
    position: absolute;
    width: 12px;
    height: 12px;
    top: -4px;
    left: 35px;
}

.img-cinema {
    position: absolute;
    width: 12px;
    height: 12px;
    top: -2px;
    left: 55px;
}

.label-style {
    position: absolute;
}

/* Βασικό στυλ για εικόνες */
.img-style {
    position: absolute;
}

.visually-hidden { 
    position: absolute; 
    width: 1px; 
    height: 1px; 
    padding: 0; 
    margin: -1px; 
    overflow: hidden; 
    clip: rect(0, 0, 0, 0); 
    white-space: nowrap; 
    border: 0; 
}

/* Custom Slider Track */
#volSlider::-webkit-slider-runnable-track {
    background: linear-gradient(90deg, #0078d7, #00d7a1);
    height: 8px;
    border-radius: 5px;
}

#volSlider::-moz-range-track {
    background: linear-gradient(90deg, #0078d7, #00d7a1);
    height: 8px;
    border-radius: 5px;
}

#volSlider::-ms-track {
    background: transparent;
    height: 8px;
    border-radius: 5px;
}

/* Custom Slider Thumb */
#volSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 2px solid #0078d7;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    top: -4px;
}

#volSlider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 2px solid #0078d7;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    top: -4px;
}

#volSlider::-ms-thumb {
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 2px solid #0078d7;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    top: -4px;
}

.results-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.result-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.result-item:hover {
    background-color: #f1f1f1;
    transform: translateY(-2px);
}

.thumbnail {
    width: 90px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
}

.content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.video-title {
    font-size: 14px;
    color: #333;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== YOUTUBE PLAYER MODERN STYLES ===== */
.ytpl-modern-container {
    position: absolute;
    width: 700px;
    height: 600px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid #34495e;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Segoe UI', system-ui, sans-serif;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Icons */
.ytpl-search-icon, .ytpl-clear-icon, .ytpl-link-icon {
    width: 24px !important;
    height: 24px !important;
    filter: none !important;
    object-fit: contain;
}

.ytpl-control-icon {
    width: 18px !important;
    height: 18px !important;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

/* Buttons */
.ytpl-btn-search, .ytpl-btn-clear, .ytpl-btn-add-link {
    padding: 8px 12px !important;
    font-size: 11px !important;
    gap: 4px !important;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.ytpl-btn-search, .ytpl-btn-clear {
    background: rgba(52, 152, 219, 0.8);
    color: white;
}

.ytpl-btn-search:hover, .ytpl-btn-clear:hover {
    background: rgba(52, 152, 219, 1);
    transform: translateY(-1px);
}

.ytpl-btn-add-link {
    background: rgba(155, 89, 182, 0.8);
    color: white;
}

.ytpl-btn-add-link:hover {
    background: rgba(155, 89, 182, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.4);
}

.ytpl-btn-control {
    width: 36px !important;
    height: 36px !important;
    padding: 6px !important;
    background: rgba(52, 152, 219, 0.8);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ytpl-btn-control:hover {
    background: rgba(52, 152, 219, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

/* Header */
.ytpl-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 12px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #34495e;
    cursor: move;
    user-select: none;
}

.ytpl-title {
    display: flex;
    align-items: center;
    gap: 6px !important;
    color: white;
    font-weight: 600;
    font-size: 14px !important;
}

.ytpl-logo {
    width: 16px !important;
    height: 16px !important;
}

.ytpl-header-controls {
    display: flex;
    gap: 8px;
}

.ytpl-btn-icon {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ytpl-btn-icon:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

/* Video Section */
.ytpl-video-section {
    display: flex;
    gap: 8px !important;
    align-items: flex-start;
    padding: 8px !important;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    margin: 8px !important;
}

.ytpl-video-container {
    width: 200px !important;
    height: 112px !important;
    background: #000 !important;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    transition: all 0.3s ease;
}

.ytpl-video-container:hover {
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
}

.ytpl-video-container iframe {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    visibility: visible !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    border: none !important;
}

.ytpl-video-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ytpl-title-display {
    color: white;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    max-height: 36px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ytpl-time-display {
    color: #bdc3c7;
    font-size: 12px;
    font-family: 'Courier New', monospace;
}

/* Search Section */
.ytpl-search-section {
    display: flex;
    gap: 8px !important;
    align-items: center;
    padding: 0 8px !important;
    margin-bottom: 8px !important;
}

.ytpl-search-box {
    display: flex;
    flex: 1;
    gap: 8px;
}

.ytpl-search-input {
    flex: 1;
    padding: 8px 10px !important;
    border: 1px solid #34495e;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #2c3e50 !important;
    font-size: 12px !important;
    transition: all 0.3s ease;
}

.ytpl-search-input::placeholder {
    color: #7f8c8d !important;
}

.ytpl-search-input:focus {
    outline: none;
    border-color: #3498db;
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    color: #2c3e50 !important;
}

/* Controls Section */
.ytpl-controls {
    display: flex;
    gap: 8px !important;
    align-items: center;
    padding: 8px !important;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    margin: 8px !important;
}

.ytpl-status {
    color: #2ecc71;
    font-size: 10px !important;
    font-weight: 600;
    margin-left: auto;
    padding: 6px 8px !important;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(46, 204, 113, 0.3);
    transition: all 0.3s ease;
}

.ytpl-status.playing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { background: rgba(46, 204, 113, 0.1); }
    50% { background: rgba(46, 204, 113, 0.3); }
    100% { background: rgba(46, 204, 113, 0.1); }
}

/* Content Section */
.ytpl-content {
    flex: 1;
    display: flex;
    gap: 12px !important;
    padding: 8px !important;
    min-height: 200px;
}

.ytpl-playlist-section, .ytpl-results-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.ytpl-section-title {
    color: white;
    font-size: 12px !important;
    font-weight: 600;
    margin-bottom: 8px;
    padding: 6px 0 !important;
    border-bottom: 2px solid #3498db;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ytpl-section-title::before {
    content: "🎵";
    font-size: 16px;
}

.ytpl-results-section .ytpl-section-title::before {
    content: "🔍";
}

/* Playlist */
.ytpl-playlist {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid #34495e;
    border-radius: 6px;
    color: white;
    font-size: 11px !important;
    padding: 4px;
    min-height: 120px !important;
    transition: all 0.3s ease;
}

.ytpl-playlist:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.ytpl-playlist option {
    padding: 6px 8px;
    margin: 2px 0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ytpl-playlist option:hover {
    background: rgba(52, 152, 219, 0.3);
}

.ytpl-playlist option:checked {
    background: rgba(52, 152, 219, 0.6);
    font-weight: 500;
}

/* Results Section */
.ytpl-results {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid #34495e;
    border-radius: 6px;
    padding: 8px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 120px !important;
}

.ytpl-result-item {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.ytpl-result-item:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(52, 152, 219, 0.3);
    transform: translateY(-1px);
}

.ytpl-result-thumb {
    width: 60px;
    height: 45px;
    border-radius: 4px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.ytpl-result-item:hover .ytpl-result-thumb {
    transform: scale(1.05);
}

.ytpl-result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ytpl-result-title {
    color: white;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    max-height: 28px;
    overflow: hidden;
}

.ytpl-result-channel {
    color: #bdc3c7;
    font-size: 10px;
}

.ytpl-result-availability {
    color: #2ecc71;
    font-size: 9px;
    font-weight: bold;
    margin-top: 2px;
}

.ytpl-result-item.error {
    opacity: 0.6;
    border-left: 3px solid #e74c3c;
}

.ytpl-result-item.error .ytpl-result-availability {
    color: #e74c3c;
}

.ytpl-no-results {
    color: #95a5a6;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

/* Scrollbars */
.ytpl-results, .ytpl-playlist {
    scrollbar-width: thin;
    scrollbar-color: rgba(52, 152, 219, 0.6) rgba(255,255,255,0.1);
}

.ytpl-results::-webkit-scrollbar, 
.ytpl-playlist::-webkit-scrollbar {
    width: 6px;
}

.ytpl-results::-webkit-scrollbar-track,
.ytpl-playlist::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.ytpl-results::-webkit-scrollbar-thumb,
.ytpl-playlist::-webkit-scrollbar-thumb {
    background: rgba(52, 152, 219, 0.6);
    border-radius: 3px;
}

.ytpl-results::-webkit-scrollbar-thumb:hover,
.ytpl-playlist::-webkit-scrollbar-thumb:hover {
    background: rgba(52, 152, 219, 0.8);
}

/* Modal Styles */
.ytpl-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.ytpl-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    margin: 15% auto;
    padding: 0;
    border-radius: 12px;
    width: 450px;
    max-width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid #34495e;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.ytpl-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #34495e;
}

.ytpl-modal-header h3 {
    color: white;
    margin: 0;
    font-size: 18px;
}

.ytpl-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.ytpl-modal-close:hover {
    background: rgba(255,255,255,0.1);
}

.ytpl-modal-body {
    padding: 20px;
}

.ytpl-link-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #34495e;
    border-radius: 6px;
    background: rgba(255,255,255,0.95);
    color: #2c3e50;
    font-size: 14px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.ytpl-link-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.ytpl-modal-info {
    margin-bottom: 20px;
    text-align: center;
}

.ytpl-modal-info small {
    color: #bdc3c7;
    font-size: 12px;
}

.ytpl-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.ytpl-btn-confirm {
    padding: 10px 20px;
    background: rgba(46, 204, 113, 0.8);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ytpl-btn-confirm:hover {
    background: rgba(46, 204, 113, 1);
    transform: translateY(-1px);
}

.ytpl-btn-cancel {
    padding: 10px 20px;
    background: rgba(231, 76, 60, 0.8);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ytpl-btn-cancel:hover {
    background: rgba(231, 76, 60, 1);
    transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ytpl-modern-container {
        width: 95vw !important;
        height: 90vh !important;
        max-width: none;
        border-radius: 8px;
    }
    
    .ytpl-video-section {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .ytpl-video-container {
        width: 100% !important;
        max-width: 300px;
        height: 169px !important;
    }
    
    .ytpl-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .ytpl-controls {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .ytpl-btn-control {
        width: 32px !important;
        height: 32px !important;
    }
    
    .ytpl-control-icon {
        width: 16px !important;
        height: 16px !important;
    }
    
    .ytpl-search-icon, .ytpl-clear-icon, .ytpl-link-icon {
        width: 24px !important;
        height: 24px !important;
    }
    
    .ytpl-btn-search, .ytpl-btn-clear, .ytpl-btn-add-link {
        padding: 6px 8px !important;
        font-size: 10px !important;
    }

    .ytpl-search-section {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .ytpl-modern-container {
        height: 85vh !important;
    }
    
    .ytpl-video-container {
        height: 150px !important;
        max-width: 260px;
    }
    
    .ytpl-controls {
        padding: 8px;
    }
    
    .ytpl-btn-control {
        width: 30px !important;
        height: 30px !important;
    }
    
    .ytpl-control-icon {
        width: 14px !important;
        height: 14px !important;
    }
    
    .ytpl-title span {
        font-size: 14px;
    }
}

/* ===== WEBKIT-SPECIFIC FIXES ΜΟΝΟ ===== */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    /* ΜΟΝΟ fixes για WebKit-specific issues */
    
    /* Fix για YouTube Player container */
    .ytpl-modern-container {
        width: 700px !important;
        min-width: 700px !important;
        max-width: 700px !important;
        height: 600px !important;
        min-height: 600px !important;
        resize: none !important;
        overflow: hidden !important;
    }
    
    /* Fix για video container */
    .ytpl-video-container {
        width: 240px !important;
        height: 135px !important;
        min-width: 240px !important;
        min-height: 135px !important;
        flex-shrink: 0 !important;
    }
    
    /* Fix για scrollbars */
    .ytpl-results::-webkit-scrollbar, 
    .ytpl-playlist::-webkit-scrollbar {
        width: 8px;
    }
    
    .ytpl-results::-webkit-scrollbar-thumb,
    .ytpl-playlist::-webkit-scrollbar-thumb {
        background: rgba(52, 152, 219, 0.8);
        border-radius: 4px;
    }
    
    /* Fix για animations */
    .loader-gif {
        -webkit-animation: rotate 3s linear infinite;
        animation: rotate 3s linear infinite;
    }
    
    /* Fix για flexbox issues */
    .ytpl-content {
        display: -webkit-flex !important;
        display: flex !important;
        -webkit-flex-direction: row;
        flex-direction: row;
    }
    
    /* Fix για transform issues */
    .ytpl-modern-container {
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
    .buttons-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 80px;
        width: 100%;
        height: 40px;
        margin: 10px 0;
    }

}