@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
body, html {
    height: 100%;
    margin: 0;
    overflow: hidden;
    font-family: 'Raleway', sans-serif;
    
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}
.top-bar {
    color: white;
    text-align: center;
    padding: 15px;
    font-family: 'Raleway', sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height:75px;
    z-index: 22;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}
.top-bar.sticky { background-color: #ffffff; box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; }
.top-bar.sticky .menu-container .menu-wrap { box-shadow: none; }
#time {
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1;
    padding-bottom: 5px;
}
#date {
    font-size: 1em;
    font-weight: 900;
    line-height: 1;
}
.logo {
    /* position: absolute;
    top: 280px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10; */
    max-width: 250px;
}
.search-container {
    /* position: absolute;
    top: 400px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10; */
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}
.search-container select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url('https://ouiadgood.com/tab/img/google.a10d5c9c.png') no-repeat left 10px center, url('https://ouiadgood.com/tab/img/down-arrow.png') no-repeat right 5px center;
    background-size: 20px, 12px;
    padding-left: 40px;
    padding-right: 20px;
    border: none;
    outline: none;
    height: 40px;
    font-family: inherit;
}
.search-container input[type="text"] {
    width: 430px;
    height: 40px;
    padding: 0 10px;
    font-size: 16px;
    border: none;
    outline: none;
    border-radius: 20px;
    flex-grow: 1;
    position: relative;
    font-family: inherit;
}
.search-container .clear-icon {
    position: absolute;
    right: 45px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: none;
    background: url('https://ouiadgood.com/tab/img/clear.png') no-repeat center;
    background-size: contain;
}
.search-container .clear-icon:hover::after {
    content: 'clear';
    position: absolute;
    top: -30px;
    left: -10px;
    background: black;
    color: white;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
}
.search-container button {
    background: url('https://ouiadgood.com/tab/img/magnifier.png') no-repeat center;
    background-size: 20px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}
.iframes {
    /* position: absolute;
    bottom: 0;
    left: 0;
    right: 0; */
    display: flex;
    flex-direction: row;
    justify-content: center;
    /* align-items: flex-end; */
    flex-wrap: wrap;
}
iframe {
    margin: 5px;
    flex-shrink: 0;
}
iframe:nth-of-type(3) {
    order: 3;
    width: 300px;
    height: 250px;
}

.profile-pic-wrap {
    display: inline-block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
	margin-right: 5px;
	overflow: hidden;
	vertical-align: middle;
}

.profile-pic-wrap .profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 728px) {
    .iframes {
        flex-direction: column;
        align-items: center;
    }
    iframe {
        width: 300px;
        height: 250px;
    }
    iframe:nth-of-type(3) {
        width: 300px;
        height: 250px;
    }
}

.shortcut-wrap {
    position: relative;
    font-size: 18px;
    color: #fff;
    margin: 10px;
    cursor: pointer;
	text-align: center;
}
.shortcut-wrap2 {
    position: relative;
    font-size: 18px;
    color: #fff;
    margin: 10px;
    cursor: pointer;
	text-align: center;
}
.shortcut {  
    width: 50px;
    height: 50px;
    background: transparent;
    border: 7px solid #fff;;
    border-radius: 50%;
    display: flex;
    justify-content: center;
	 text-align: center;
    align-items: center;
    margin: 0 auto 10px;
    /* position: relative;
    z-index: 1; */
    font-size: 100px; 
    color: #ffff;
    line-height: 1;
}
.shortcut2 {  
    width: 50px;
    height: 50px;
    background: transparent;
    border: 7px solid #fff;;
    border-radius: 50%;
    display: flex;
    justify-content: center;
	 text-align: center;
    align-items: center;
    margin: 0 auto 10px;
    /* position: relative;
    z-index: 1; */
    font-size: 100px; 
    color: #ffff;
    line-height: 1;
}
.shortcut.active { 
	background-color: #fff; 
	color: #000; 
	text-align: center;
	}
	
.shortcut2.active { 
background-color: #fff; 
color: #000; 
text-align: center;
}
.shortcut img {
    width: 30px;
    height: 30px;
}

.shortcut2 img {
    width: 30px;
    height: 30px;
}
.shortcut .delete-icon {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: url('https://ouiadgood.com/tab/img/clear.png') no-repeat center;
    background-size: 12px;
    display: none;
    cursor: pointer;
    z-index: 2;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
.shortcut-wrap:hover .delete-icon {
    display: block;
}
.shortcut2-wrap:hover .delete-icon {
    display: block;
}
#shortcutsContainer {
    /* position: absolute;
    top: 500px;
    left: 50%;
    transform: translateX(-50%); */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#shortcutsContainer2 {
    /* position: absolute;
    top: 500px;
    left: 50%;
    transform: translateX(-50%); */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#shortcutDialog {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 128, 128, 0.9);
    padding: 20px;
    border-radius: 10px;
    z-index: 20;
}
#shortcutDialog input {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    border: none;
    box-sizing: border-box;
}
#shortcutDialog button {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    margin-right: 10px;
}
#saveShortcut {
    background-color: #0000ff;
    color: white;
}
#cancelShortcut {
    background-color: #f44336;
    color: white;
}
.user-points {
    position: absolute;
    top: 10px;
    right: 30px;
    color: white;
    font-size: 18px;
    font-weight: bold;
}
.bookmark {
    display: inline-block;
    margin: 10px;
    text-align: center;
}
.plus-sign {
    font-size: 2em;
    cursor: pointer;
}
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border: 1px solid #ccc;
    z-index: 1000;
}
.modal-content {
    display: flex;
    flex-direction: column;
}
.modal-content input {
    margin-bottom: 10px;
}
.modal-content button {
    margin: 5px;
}
.menu-container { 
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-left: auto;

}
.menu-container .menu-wrap {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-left: auto;
}
.custom-menu .menu {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.custom-menu .menu li {
    position: relative;
}
.custom-menu .menu .sub-menu-item a svg { width: 10px; margin-left: 2px; display: inline-block; vertical-align: middle; }
.custom-menu .menu li a {
    text-decoration: none;
    color: #333;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 600;
    display: block;
    transition: color 0.3s;
}
.custom-menu .menu li a:hover {
    color: #000;
}
.menu-actions span {
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-right: 10px;
}

.menu-login,
.menu-signup {
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}
.menu-login {
    background-color: transparent;
    color: #333;
}
.menu-login:hover {
    color: #000;
}
.menu-signup {
    background-color: #333;
    color: #fff;
}
.menu-signup:hover {
    background-color: #000;
}

.creator-select {
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.creator-select:focus {
    border-color: #000;
}

body {
    background-color: #f0f0f0;
    margin: 0;
    padding-top: 100px;
}

.container {
    width: 500px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-top: 0;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
}

input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 10px;
    font-size: 16px;
    color: #fff;
    background-color: #04acbb;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#searchButton:hover,
#searchButton:focus {
    background-color: #fff;
    -webkit-filter: invert(1);
    filter: invert(1);
}

p {
    text-align: center;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.home-content-wrap { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0px; }
.home-content { width: 100%; max-width: 700px; margin: 0 auto; padding: 0 15px; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; /*margin-top:25%;*/ }
.sub-menu-item { position: relative; }
.sub-menu-wrap { position: absolute; top: 100%; left: -10%; z-index: 2; padding-top: 20px; opacity: 0; visibility: hidden; -webkit-transition: all .4s ease; transition: all .4s ease; }
.sub-menu-item:hover > .sub-menu-wrap { opacity: 1; visibility: visible; }
.sub-menu-wrap .sub-menu { padding: 12px 20px; background-color: #fff; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); text-align: left; min-width: 176px; }
.sub-menu-wrap .sub-menu li a { padding: 8px 0; display: inline-block; }

.support-text { display: inline-block; padding: 8px 10px; background-color: #13b0c0; line-height: 1; border-radius: 30px; margin: 0 auto; /*position: absolute; top: 345px; left: 50%; transform: translateX(-50%);*/ }
.support-text p { margin: 0; font-size: 14px; font-weight: 400; color: #fff; }

.toggle-menu { display: none; }
.toggle-menu a { width: 40px; height: 40px; background-color: #fff; display: flex; align-items: center; justify-content: center; line-height: 1; }
.top-bar .logo { display: none; }

.cause-message { width: 100%; max-width: 600px; padding: 8px 10px; background-color: #13b0c0; color: #fff; display: -webkit-flex; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; border-radius: 20px; gap: 5px; }
.select2-container--default .select2-selection--single { height: auto; border: none; }
.cause-message a { color: #fff; text-decoration: underline; }
.select2-results__options .select2-results__option { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.select2-results__options .select2-results__option img {width: 20px; height: 20px; object-fit: contain; }
.profile-sidebar .sidebar-ad-img { position: relative; display: block; width: 100%; padding: 0; }
.profile-sidebar .sidebar-ad-img:before { display: block; content: ""; padding-top: 56.25%; }
.profile-sidebar .sidebar-ad-img iframe { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; height: 100%; border: 0; }
.select2-container--default .select2-selection--single .select2-selection__rendered { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.select2-container--default .select2-selection--single .select2-selection__rendered img { height: 20px; width: 20px; object-fit: contain; }
.select2-container--default .select2-selection--single .select2-selection__arrow { width: 15px; height: 100%; }
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background-color: #13b0c0; }
.select2-container.select2-container--default .select2-dropdown { border-radius: 8px; overflow: hidden; border: 1px solid #ccc; }

/* 01-04-2025 */
#open_preferences_center { margin-left: auto !important; margin-right: 5%; }

/* portrait-iframe */
.iframe-container { padding: 5px; }
.portrait-iframe .iframe-container iframe { width: 480px; height: 395px; margin: 0; display: block; }
.portrait-iframe .portrait-iframe-wrap { position: relative; padding: 5px; padding-bottom: 395px; overflow: hidden; width: 290px; height: 0; margin-bottom: 5px; }
.portrait-iframe .portrait-iframe-wrap iframe { position: absolute; top: 5px; left: 5px; width: calc(100% - 10px) !important; height: 100% !important; min-width: auto !important; max-width: 100% !important; border-radius: 0 !important; border: none !important; margin: 0; }

/* landscape-iframe */
.landscape-iframe-wrap { position: relative; aspect-ratio: 16 / 9; overflow: hidden; width: 445px; margin: 5px; }
.landscape-iframe-wrap iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; min-width: auto !important; border-radius: 0 !important; border: none !important; margin: 0; }
.landscape-iframe iframe { margin: 0; display: block; }

@media screen and (max-height: 800px) {
    .portrait-iframe .iframe-container iframe { width: 420px; height: 350px; }
    .portrait-iframe .portrait-iframe-wrap { width: 260px; padding-bottom: 350px; }
}

@media screen and (max-height: 750px) {
    body, html { overflow: unset; height: auto; }
}

@media screen and (max-width: 1300px) {
    .portrait-iframe .iframe-container iframe { width: 400px; height: 335px; }
    .portrait-iframe .portrait-iframe-wrap { width: 260px; padding-bottom: 335px; }
}

@media screen and (max-width: 1100px) {
    .time-date-container { display: none; }
    .custom-menu .menu { gap: 0; }
    .menu-container .menu-wrap { padding: 10px; }
    .menu-container { gap: 10px; }
    .home-content-wrap .iframes { width: 100%; }
    .portrait-iframe .iframe-container iframe { width: 350px; height: 300px; }
    .landscape-iframe .landscape-iframe-wrap { width: 350px; }
    .landscape-iframe iframe { width: 250px; height: 200px; }
}

@media screen and (max-width: 991px) {
    body, html { overflow: unset; height: auto; }
    .time-date-container { display: none; }
    .menu-container .menu-wrap { padding: 10px; }
    .menu-container { gap: 10px; }

    .custom-menu .menu li a { font-size: 16px; padding: 8px; }
    .menu-container { display: none; }
    .toggle-menu { display: block; }
    .logo { display: none; }
    .top-bar .logo { display: block; width: 100%; max-width: 200px; }
    .top-bar.sticky .logo { -webkit-filter: brightness(0); filter: brightness(0); }
    .toggle-menu.active + .menu-container { display: block; position: absolute; top: 100%; left: 0; right: 0; padding: 10px; background-color: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); }
    .menu-container .menu-wrap.select { display: none; }
    .custom-menu .menu { display: block; text-align: left; }
    .menu-container .menu-wrap { box-shadow: none; display: block; padding: 0; }
    .sub-menu-item:not(.active) .sub-menu-wrap { position: unset; display: none; }
    .sub-menu-item > .sub-menu-wrap { position: unset; padding-top: 0; opacity: 1; visibility: visible; }
    .sub-menu-item:active .sub-menu-wrap { display: block; padding-top: 0; }
    .sub-menu-wrap .sub-menu { box-shadow: none; }

    .portrait-iframe .iframe-container iframe { width: 430px; height: 360px; }
    .portrait-iframe .portrait-iframe-wrap { padding-bottom: 360px; }
}

@media screen and (max-width: 767px) {
    body { padding-top: 80px; }    
    .shortcut { height: 50px; width: 50px; border-width: 3px; }
    .shortcut .add-icon { font-size: 40px; }
    .shortcut-wrap span { display: none; }
    .shortcut2 { height: 50px; width: 50px; border-width: 3px; }
    .shortcut2 .add-icon { font-size: 40px; }
    .shortcut-wrap2 span { display: none; }
    .search-container { width: 100%; }
    .search-container input[type="text"] { width: 70%; }
    .shortcut-wrap { margin: 8px; }
    #shortcutDialog { width: 100%; max-width: 300px; }
    .custom-menu .menu li.point { display: none; }
    .search-container button:hover { background-color: transparent; }
    .search-container select { display: none; }
    #shortcutDialog { position: unset; transform: unset; }
    .shortcut .delete-icon { display: block; height: 20px; width: 20px; background-size: 10px; }
    .select2-container { width: auto !important; }
    .select2-container.select2-container--default .select2-dropdown { min-width: 130px; }
    .select2-container--default .select2-selection--single .select2-selection__rendered span { display: none; }
    .home-content-wrap .iframes { padding: 0 20px; }
    .home-content-wrap .iframes iframe { width: 300px; height: 250px; }
    .portrait-iframe .portrait-iframe-wrap { width: 310px; padding-bottom: 425px; margin-bottom: 5px; }
    .landscape-iframe .landscape-iframe-wrap { width: 100%; }
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th, .leaderboard-table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.leaderboard-table th {
    background-color: #f2f2f2;
    text-align: center;
}

.highlight {
    background-color: #ffff99; /* Highlight color */
}

.filter-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-container select, .filter-container button {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
     .green-label {
    color: green;
    font-weight: bold;
}

.red-label {
    color: red;
    font-weight: bold;
}

.menu-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

nav {
    display: flex;
    gap: 15px;
}

.lang-option {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: black;
}

.flag-icon {
    width: 20px;
    height: 15px;
    margin-right: 5px;
}

.lang-option:hover {
    color: #007bff; /* Change color on hover */
}

        .time-date-container {
            font-size: 9px;
            color: black;
            padding: 10px 20px; 
            background-color: #fff; 
            border-radius: 8px; 
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
      
        .container h2 {
            text-align: center;
            margin-bottom: 20px;
        }
        .container form {
            display: flex;
            flex-direction: column;
        }
        .container form label {
            margin-bottom: 5px;
        }
        .container form input {
            margin-bottom: 15px;
            padding: 10px;
            font-size: 16px;
        }
        .container form button {
            padding: 10px;
            font-size: 16px;
            background-color: #04acbb;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            margin-bottom: 10px;
        }
        .container form button:hover {
            background-color: #f2d70f;
        }
        .password-container {
            display: flex;
            align-items: center;
        }
        .password-container input {
            width: 60%; /* Shorter width for the password field */
        }
        .toggle-password-text {
            margin-left: 10px;
            color: #4CAF50;
            cursor: pointer;
            font-size: 14px;
            text-decoration: underline;
        }
        .toggle-password-text:hover {
            color: #45a049;
        }
 
             .green-label {
    color: green;
    font-weight: bold;
}

.red-label {
    color: red;
    font-weight: bold;
}
  .message {
            margin-top: 20px;
            padding: 10px;
            background-color: #d4edda;
            border: 1px solid #c3e6cb;
            color: #155724;
            border-radius: 5px;
            text-align: center;
        }

#username{
    width:40%;
}

 .time-date-container {
            font-size: 9px;
            color: black;
            padding: 10px 20px; 
            background-color: #fff; 
            border-radius: 8px; 
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
