@import url('https://fonts.googleapis.com/css2?family=Play&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@400;700&display=swap');

#mediaImage {
    width: auto;
    max-height: 550px;
}

body {
    height: 100vh;
    background-color: #fff;
    font-family: Arial, sans-serif;
    background-color: var(--background-light);
    color: var(--text-light);
    transition: background-color 0.3s ease, color 0.3s ease;
}


#notification {
    padding: 20px;
    background-color: transparent;
    animation: pop-in 0.5s forwards, pop-out 0.5s ease-out forwards;
    opacity: 0;
    max-width: 700px;
    margin: 0 auto; /* Center the notification div horizontally */
    text-align: center; /* Center the text inside the notification */
}

.hidden {
    display: none;
}

#media,
#amount,
#currency,
#message,
#name,
#alert {
    margin: 3px 0;
    font-family: "Kanit", sans-serif;
    word-break: break-all;
}

#video_media
#media {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Center the media elements */
}

#amount,
#currency {
    font-size: 2em;
    font-weight: bold;
    display: inline-block;
    color: aliceblue;
    text-shadow: 1px 1px 2px #000;
    animation: wave 1s infinite alternate;
}

#video_media, #media {
    width: 300px;
}

#message,
#name,
#alert {    
    font-size: 2.5em;
    color: aliceblue;
    text-shadow: 2px 2px 2px #000;

}

#name,
#amount {
    color: #9aebfd;
    font-size: 2.8em;
    font-weight: 800;
    text-transform: uppercase;
}

#name {
    animation: neon 1s ease infinite;
    font-weight: 400;
    font-style: normal;
}

@keyframes pop-in {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pop-out {
    from {
        transform: scale(1);
        opacity: 1;
    }

    to {
        transform: scale(0);
        opacity: 0;
    }
}

@keyframes wave {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-5px);
    }
}

@keyframes neon {
    0%,
    100% {
        text-shadow: 0 0 10px #9aebfd, 0 0 20px #9aebfd, 0 0 20px #9aebfd, 0 0 20px #9aebfd, 0 0 2px #9aebfd, 2px 2px 2px #4d7399;
        color: #e0f7ff;
    }
    50% {
        text-shadow: 0 0 2px #306b8a, 0 0 5px #306b8a, 0 0 5px #306b8a, 0 0 5px #306b8a, 0 0 2px #306b8a, 4px 4px 2px #204759;
        color: #b4e0f0;
    }
}

.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.navbar-brand {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #eeeeee;
}


.table-ai-voice {
    display: flex;
    justify-content: space-between;
  }

  .table-ai-voice button:hover {
    color: #fff
  }    

.custom-dropdown {
    position: relative;
    display: inline-block;
}

.custom-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    padding: 8px 0;
}

.custom-dropdown-menu a {
    color: #333;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s ease;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.custom-dropdown-menu a:hover {
    background-color: #f5f5f5;
}

.custom-dropdown {
    display: inline-block;
    position: relative;
}

.customDropdownButton {
    cursor: pointer;
    color: #333;
    transition: color 0.2s ease;
}

.customDropdownButton:hover {
    color: #000;
}    