/* Style for Front File */

body {
    background-color: #0195d2;
    margin: 0;
    padding: 0;
    height: 100%;
}

.btn-login .iconArrowRight {
    transition: transform 0.2s ease-in-out;
}

.btn-login:hover .iconArrowRight {
    transform: translateX(3px);
}

.btn-login .iconArrowRight img {
    width: 12%;
}

.btn-login {
    border-radius: 5px;
    /* padding: 10px 20px; */
}

.btn-login:hover {
    background-color: #fafafa2d;
    color: rgba(255, 255, 255, 0.8);
}

.marginBottomClass {
    margin-bottom: 15%;
}

.footerMainPage p {
    color: rgba(255, 255, 255, 0.5);
}

.footerMainPage img {
    width: 50%;
}

/* for animation svg2 and svg3 */

.svg-animate {
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.svg-top {
    animation-name: floatUpDown;
}

.svg-bottom {
    animation-name: floatLeftRight;
}

@keyframes floatUpDown {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatLeftRight {
    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(20px);
    }
}

/* End */

/* Style for Welcome File */

.heroTextWelcome h1 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 5rem;
}

.heroTextWelcome h1 sup {
    font-size: 0.8rem;
    vertical-align: super;
}

.heroTextWelcome p {
    color: rgba(255, 255, 255, 0.5);
}

.btn-proceed {
    background: linear-gradient(96.53deg, #fec465 0%, #fde6c3 204.92%);
    color: #0195d2;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-proceed:hover {
    background: linear-gradient(96.53deg, #fec465 0%, #fde6c3 204.92%);
    color: #0193d2a2;
}

.giftIcon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-proceed:hover .giftIcon {
    transform: translateX(5px);
}

.giftIcon img {
    width: 70%;
    vertical-align: middle;
}

/* End */

/* Style for Login File */

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
}

.form-floating-label {
    color: rgba(255, 255, 255, 0.4);
}

.find-account {
    float: right;
}

.find-account a {
    color: rgba(254, 196, 101, 0.6);
}

.find-account a:hover {
    color: rgba(254, 196, 101, 1);
}

.btn-continue {
    background-color: rgba(254, 196, 101, 1);
    color: #0195d2;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-continue:hover {
    background-color: rgba(254, 196, 101, 0.8);
    color: #0193d2a2;
}

.rightArrowRed {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-continue:hover .rightArrowRed {
    transform: translateX(5px);
}

.iconStyle i {
    color: rgba(254, 196, 101, 1);
    font-size: 25px;
}

.outer-profile {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    position: relative;
}

.outer-profile::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 10px dotted #ffffffaa;
    box-sizing: border-box;
    animation: rotateBorder 15s linear infinite;
    z-index: 1;
}

.inner-profile {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    z-index: 10;
}

.iconprofile {
    font-size: 150px;
    color: #ffffffcb;
    position: absolute;
    text-align: center;
}

/* Keyframes for rotating the border */
@keyframes rotateBorder {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* End */

/* Style for Registration Request */

.cardExternalStyle {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
    width: 100%;
    max-width: 100%;
    display: flex;
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

/* End for Registration Request */

/* Style for file Upload */

.file-upload-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.plus-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.browse-btn {
    background: linear-gradient(96.53deg, #fec465 0%, #fde6c3 204.92%);
    color: #0195d2;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 3rem;
    transition: background-color 0.3s;
}

.browse-btn:hover {
    background-color: rgba(254, 196, 101, 0.8);
    color: #0193d2a2;
}

.file-drop-area {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100%;
    max-width: 100px;
    padding: 25px;
    border-radius: 3px;
    transition: 0.2s;
    margin: 0 auto;
}

.file-drop-area.highlight {
    border-color: #4caf50;
}

.file-input {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    opacity: 0;
}

.file-msg {
    font-size: 14px;
    font-weight: 300;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: calc(100% - 40px);
    vertical-align: middle;
    margin-left: 10px;
}

.download-templateLink {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.download-templateLink:hover {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    text-decoration: none;
}

.loader-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #3498db;
    animation: spin 1s linear infinite;
}

.loader-text {
    margin-top: 20px;
    font-size: 18px;
    color: #333;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.show-loader {
    display: flex !important;
}

#drawNameTitle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

#drawNameTitle:hover::after {
    content: attr(title);
    position: absolute;
    /* background-color: rgba(0, 0, 0, 0.7); */
    color: white;
    padding: 8px;
    border-radius: 5px;
    white-space: normal;
    max-width: 300px;
    z-index: 1000;
}


/* End */

/* Style for Spin  */

.SpinnerContainer {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.spinnerHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(254, 196, 101, 1);
    margin-bottom: 20px;
}

/* .spinnerHeader h6 {
    margin: 0;
    font-size: 16px;
    font-weight: normal;
}

.spinnerHeader p {
    color: rgba(254, 196, 101, 0.8);
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
} */

.spinnerHeader h6 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100px;
    vertical-align: middle;
    /* cursor: pointer; */
}

.spinnerHeader p {
    color: rgba(254, 196, 101, 0.8);
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
}

.spinnerHeader h6:hover::after,
.spinnerHeader p:hover::after {
    content: attr(title);
    position: absolute;
    /* background-color: rgba(0, 0, 0, 0.8); */
    color: rgba(255, 255, 255, 0);
    padding: 8px;
    border-radius: 5px;
    white-space: normal;
    max-width: 300px;
    z-index: 1000;
    margin-top: 5px;
}


.spinnerHeader img {
    width: 16px;
    height: 16px;
    margin-left: 8px;
}

.number-display {
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
}

.numberSpin {
    background-color: rgba(255, 255, 255, 0.7);
    color: #0195d2;
    width: 25px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    border-radius: 5px;
}

.cancel-btn {
    background: linear-gradient(268.11deg, #df0165 1.44%, #990046 163.2%);
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 3rem;
    transition: background-color 0.3s;
}

.cancel-btn:hover {
    background: linear-gradient(268.11deg, #df0165e1 0.44%, #990046 153.2%);
    color: rgba(255, 255, 255, 1);
}

/* End */

.alert-danger {
    color: #ff0000;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.winner-container {
    display: none;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
    position: relative;
    width: 100%;
    font-weight: bold;
    font-size: 18px;
}

.winner-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
}

.winner-link:hover {
    color: rgba(255, 255, 255, 1);
}

/* Style for Winners Page */

.winners-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.spinnerHeaderWinner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(254, 196, 101, 1);
    margin-bottom: 20px;
}

.spinnerHeaderWinner h6 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 200px;
    vertical-align: middle;
    /* cursor: pointer; */
}

.spinnerHeaderWinner p {
    color: rgba(254, 196, 101, 0.8);
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
}

.spinnerHeaderWinner h6:hover::after,
.spinnerHeaderWinner p:hover::after {
    content: attr(title);
    position: absolute;
    /* background-color: rgba(0, 0, 0, 0.8); */
    color: rgba(255, 255, 255, 0);
    padding: 8px;
    border-radius: 5px;
    white-space: normal;
    max-width: 300px;
    z-index: 1000;
    margin-top: 5px;
}


.spinnerHeaderWinner img {
    width: 16px;
    height: 16px;
    margin-left: 8px;
}

.search-btn {
    margin-left: 50%;
    margin-top: 40%;
}

.printer-btn {
    cursor: pointer;
    margin-right: 70%;
    margin-top: 10px;
}

.table-container {
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
}

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

thead th {
    background: rgba(254, 196, 101, 1);
    padding: 10px;
    color: #0195d2;
    text-align: center;
}

tbody td {
    padding: 10px;
    border-bottom: 1px solid rgba(254, 196, 101, 0.4);
}

.tableContent {
    color: rgba(255, 255, 255, 0.6);
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.pagination span {
    color: rgba(254, 196, 101, 0.6);
}

.page-navigation button {
    background: none;
    border: none;
    color: rgba(254, 196, 101, 0.6);
    cursor: pointer;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
}

.send-email,
.discard-results {
    color: rgba(254, 196, 101, 1);
}

.send-email:hover,
.discard-results:hover {
    color: rgba(254, 196, 101, 0.8);
    background-color: rgba(254, 196, 101, 0.2);
}

.back-icon img {
    transition: transform 0.3s ease-in-out;
}

.back-icon:hover img {
    transform: scale(1.1) rotate(-10deg);
}

.search-input {
    width: 100%;
    max-width: 200px;
    display: inline-block;
}

.form-control {
    width: 100%;
    border-radius: 5px;
    padding: 5px 10px;
}

.disqualify-btn {
    color: #0195d2;
}

.action-wrapper {
    position: relative;
    display: inline-block;
}

.action-dots {
    display: flex;
    gap: 3px;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.action-dots:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dot {
    width: 4px;
    height: 4px;
    background-color: #d1d1d1;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.2s ease;
}

.action-dots:hover .dot {
    background-color: #333;
}

.action-dots:hover .dot:nth-child(2) {
    transform: scale(1.2);
}

/* Dropdown menu animations */
.animated-dropdown {
    min-width: 120px;
    transform-origin: top right;
    animation: dropdownFade 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.dropdown-item {
    padding: 8px 16px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(153, 0, 70, 0.1);
    transform: translateX(4px);
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Optional: Add a subtle transition when dropdown closes */
.dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* End Style for Winners Page */

/* Style for Navbar sticky */

.sticky-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease-in-out, padding 0.3s ease-in-out;
    padding: 20px 0;
    animation: none;
}

.sticky-navbar.sticky {
    animation: stickyNavAnimation 0.5s ease forwards;
    background-color: #0193d2cf;
}

@keyframes stickyNavAnimation {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* End Style for Navbar sticky */

/* Style for Print Page */

@media print {
    body {
        font-size: 12px;
        color: black;
        margin: 0;
        padding: 0;
    }

    .table-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    .tableContent {
        width: 100%;
        border: 1px solid black;
    }

    .tableContent th,
    .tableContent td {
        border: 1px solid black;
        padding: 5px;
        text-align: center;
        color: black;
    }

    .action-buttons,
    .pagination {
        display: none;
    }
}

/* End Style for Print Page */

/* Style for Circle */

.circle-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.circle-icons a {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Tooltip container */
.circle-icons a::after {
    content: attr(data-page);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

/* Show tooltip on hover */
.circle-icons a:hover::after {
    opacity: 1;
    visibility: visible;
}

.circle-yellow {
    background-color: #ffd700;
}

.circle-blue {
    background-color: #1e90ff;
}

.circle-green {
    background-color: #32cd32;
}

.circle-icons a.active {
    border: 2px solid #0195d2;
    width: 50px;
    height: 50px;
    position: relative;
}

.circle-icons a.active::before {
    content: "";
    position: absolute;
    top: -7px;
    left: -7px;
    right: -7px;
    bottom: -7px;
    border: 3px solid #2300ea69;
    border-radius: 50%;
    z-index: -1;
}

/* End of style for Circle */

/* Style for Settings Page */
.sidebarContainer {
    /* border: 2px solid rgba(255, 255, 255, 0.592); */
    transition: background-color 0.3s ease;
    border-radius: 10px;
}

.sidebarContainer h1 {
    color: rgba(255, 255, 255, 0.7);
}

.groupLists .active {
    background-color: rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.groupLists a {
    text-decoration: none;
}

.groupLists a span {
    transition: color 0.3s ease;
}

.groupLists a.active span {
    color: #017cb1;
    font-size: 20px;
}

.groupLists:hover span {
    color: #017cb1;
    font-size: 20px;
}

.groupLists:hover .list-group-item {
    background-color: rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar {
    left: 0;
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.3s ease-out;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.sidebar-overlay.show {
    display: block;
}

.detailSettingsStyle {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.detailSettingsStyle ::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.settings-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
    .sidebarContainer {
        border: none;
    }
    .sidebar {
        position: fixed;
        max-width: 18rem;
        transform: translateX(-100%);
        transition: transform 0.4s ease-out;
        background-color: #0195d2;
    }

    .sidebar.show {
        transform: translateX(0);
    }
}

@media screen and (min-width: 768px) {
    .sidebar {
        position: fixed;
        transform: none !important;
    }
}

.btnForSetting:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    transition: background-color 0.3s ease, color 0.3s ease;
}

#edit-draw {
    color: rgba(255, 255, 255, 0.6);
}

#edit-draw table th,
#edit-draw table td {
    color: rgb(155, 152, 152);
}

@media (max-width: 576px) {
    #edit-draw .detailSettingsStyle {
        padding-left: 10px;
        padding-right: 10px;
    }
    #edit-draw table {
        font-size: 0.875rem;
    }
    #edit-draw .btn {
        font-size: 0.75rem;
    }
}

/* End Style for Settings Page */

/* Style for Draws */

.draw-container {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.draw-container a {
    text-decoration: none;
}

.outer-circleDraw {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.outer-circleDraw:hover {
    transform: rotateY(180deg);
}

/* Pseudo-element for rotating border */
.outer-circleDraw::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 10px dotted #ffffffaa;
    box-sizing: border-box;
    animation: rotateBorder 15s linear infinite;
    z-index: 1;
}

.inner-circleDraw {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    z-index: 10;
    transform-style: preserve-3d;
}

.iconDraw {
    font-size: 40px;
    color: #ffffffcb;
    position: absolute;
    top: 40px;
    text-align: center;
}

.textDraw {
    font-size: 18px;
    font-weight: bold;
    color: #ffffffcb;
    text-align: center;
    position: absolute;
    margin-top: 30%;
    left: 0;
    right: 0;
    padding: 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    word-break: break-word;
    max-height: 2.6em;
    transition: all 0.3s ease;
    backface-visibility: hidden;
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    z-index: 2;
}

/* Rotating border animation */
@keyframes rotateBorder {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* End Style for Draws */

/* Media Queries for responsiveness footer */

@media (min-width: 768px) {
    /* .footer {
        margin-top: 30%;
    } */
}

@media (min-width: 800px) {
    /* .footer {
        margin-top: 60%;
    } */
}

@media (min-width: 820px) {
    /* .footer {
        margin-top: 50%;
    } */
}

@media (min-width: 884px) {
    /* .footer {
        margin-top: 40%;
    } */
}

@media (min-width: 1280px) {
    /* .footer {
        margin-top: 3%;
    } */
}

@media (min-width: 1920px) {
    /* .footer {
        margin-top: 18%;
    } */
}

/* End Media Queries for responsiveness footer */
