@media print {
    body {
        display: none !important;
    }
}

 body{
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: green;
    background-color: white;
    background-image: url('../img/background.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: Courier, monospace;
    font-weight: bold;
 }

.header {
  width: 100%;
  text-align: right; /* Aligns child elements to the right */
  padding: 10px;
}
.language-selector {
  padding: 5px;
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.moving-bg {
  position: relative;
  top: -20px;  
  background-size: contain;
  animation: moveAround 10s linear infinite;
}

@keyframes moveAround {
  0%   { transform: translate(-10px, -10px); }
  25%  { transform: translate(0px, 0px); }
  50%  { transform: translate(-20px, -20px); }
  75%  { transform: translate(0px, -20px); }
  100% { transform: translate(-10px, -10px); }
}

/* Loader Styling */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: white;
    background-image: url('../img/priest.jpeg');
     background-position: center;
      background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.odusign {
    font-family: Courier, monospace;
    font-weight: bold;
    text-align: center;
    font-size: 20px;
    }

.numerology{
    font-family: Courier, monospace;
     font-weight: bold;
    text-align: center;
    margin-top: 5vh;
/*    font-size: 20px;*/
  
}
h1 {
    margin-bottom: 20px;
}

#birthdate-box {
        margin-bottom: 10px;
    }

input[type="date"] {
    width: 80%;
    max-width: 250px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}    

button {
    font-size: 16px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {

}

.footer {
    color: black;
    text-align: center;
}

.footer h4 {
    color: green;
}

.footer a {
    color: #f8b400;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer ul {
    padding: 0;
    list-style: none;
}

.footer .list-inline li {
    display: inline;
    margin: 0 10px;
}

.footer .list-inline li a {
    color: #fff;
    font-size: 20px;
}

.footer .list-inline li a:hover {
    color: #f8b400;
}

.calculator {
    position: relative;
    width: 200px;
    height: 200px;
    margin: auto;
    background-image: url('../img/random.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
/*    background-position: 100px -50px;*/

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 333s linear infinite;
}

.calculator button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px dotted green;
    background-color: white;
    color: green;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    transition: background-color 0.3s ease-in-out;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


.calculator button:hover {
    background-color: white;
    border: 1px solid green;
    color: green;
}

.calculator button:focus {
    outline: none;
    background-color: white;
    border: 1px solid green;
    color: green;
}

.calculator button.clicked {
    font-weight: bold;
}

.app-btn {
    border: 1px solid green; 
    color: green; 
    background-color: white; 
    font-weight: bold;
}

/* Container for Odù images */
.odu-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
/*    width: fit-content;*/
    width: 50%;
    margin: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Header image (overlapping top) */
.odu-header {
    position: absolute;
    top: -25px; /* Adjust this value to move it up/down */
    z-index: 2;
    width: 80px;
}

/* Footer image (overlapping bottom) */
.odu-footer {
    position: absolute;
    bottom: -25px; /* Adjust this value to move it up/down */
    z-index: 2;
    width: 80px;
}

/* Individual Odù lines */
.odu-line-container {
    display: flex;
    justify-content: center;
    gap: 22px;
    position: relative;
    z-index: 1;
}

/* Odù image size */
.odu-line {
    width: 30px;
    height: 50px;
}

#chatbot-container {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 350px;
    background: white;
    border: 2px solid #008000;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Header */
#chatbot-header {
    background: white;
    border-bottom: 1px solid green;
    color: green;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

/* Messages area */
#chatbot-messages {
    height: 250px;
    overflow-y: auto;
    padding: 10px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Wrapper for message alignment */
.chat-message-wrapper {
    display: flex;
    width: 100%;
}

/* Alignments */
.align-left {
    justify-content: flex-start;
}

.align-right {
    justify-content: flex-end;
}

/* Message bubble */
.chat-message {
    padding: 10px 14px;
    max-width: 75%;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    border-radius: 15px;
}

/* User messages (aligned right, green) */
.user-message {
    background-color: #4CAF50;
    color: white;
    border-radius: 15px 15px 0 15px;
    text-align: justify; /* right text alignment */
}

/* Bot messages (aligned left, light grey) */
.bot-message {
    background-color: #f1f1f1;
    color: black;
    border-radius: 15px 15px 15px 0;
    text-align: left; /* left text alignment */
}


/* Input section */
#chatbot-input-container {
    display: flex;
    align-items: center;
    padding: 10px;
    border-top: 1px solid green;
    background: white;
}

#chatbot-input {
    flex-grow: 1;
    padding: 8px;
    font-size: 14px;
    border: 1px solid green;
    border-radius: 5px;
}

#chatbot-send {
    padding: 8px 12px;
    margin-left: 5px;
    font-size: 14px;
    background: #008000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#chatbot-send:hover {
    background: #006400;
}

/* Floating toggle button */
#chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #008000;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

#chatbot-toggle:hover {
    background: #006400;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    #chatbot-container {
        width: 90vw;
        height: 80vh;
        bottom: 10px;
        right: 10px;
    }

    #chatbot-toggle {
        bottom: 15px;
        right: 15px;
    }

    .ifaDetails {
    margin-top: -10px;
    }

      #audioModal div {
    width: 95%;
    font-size: 14px;
  }

}
