/* Mystic color scheme and background styles */
body {
    background-color: rgb(14, 7, 85);
    /* deep brown */
    color: #d4af37;
    /* golden text */
    font-family: 'Georgia', serif;
    align-items: center;
    display: grid;
}

#responseContainer {
    border: 2px solid lightblue;
    color: white;
    opacity: 0.7;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
    display: none;
    margin: 30px;
    font-size: 16px;
    /* Initially hide response container */
}

#responseContainer strong, #responseContainer h2, #responseContainer h3, #responseContainer h4 {
    color: #d4af37;
}

h2 {
    text-align: center;
    color: #d4af37;
    margin: 0;
}

#responseBox {
    padding: 10px;
    margin-bottom: 20px;
    background-color: #1c1c1c;
    /* dark gray */
}

#consentContainer {
    margin: 10px auto;
    max-width: 400px;
    justify-content: center;
}

/* Circular window for the coffee cup image */
#coffeeCupImage {
    width: 300px;
    font-size: 15px;
    display: flex;
    justify-content: center;
    margin: 0px auto 10px auto;
}

/* Placeholder for mystic animation - replace with actual animation */
.mystic-animation {
    height: 300px;
    width: 300px;
    mix-blend-mode: lighten;
    margin: 20px auto;
    opacity: 0.8;
    background: url('../images/napredni-simboli-solje-kafe.jpg') no-repeat center;
    box-shadow: 0 0 15px 5px rgba(255, 255, 200, 0.8);
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

/* Upload section styling */
.upload-section {
    color: #ffffff;
    text-align: center;
    padding: 30px 0px 5px 0px;
    font-size: medium;
}

.upload-section,
#sendButtonContainer {
    display: flex;
    justify-content: center;
    align-items: center;
}

#sendButton,
#resetButton {
    display: none;
    /* Initially hide send button */
    margin-top: 20px;
    margin: auto;
    /* Adds space above the send button */
}

.upload-section button,
.feedback-section button,
.send-picture {
    font-size: x-large;
    display: block;
    width: 300px;
    height: 40px;
    align-self: center;
}

button {
    background-color: #d4af37;
    color: #000;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    width: 300px;
    /* Fixed width for consistency */
    height: 40px;
}

button:disabled {
    background-color: #9e9e9e;
}

canvas#space {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /*height: 100%;*/
    /* Ako želite da zauzima punu širinu */
    z-index: -1;
    /* Da bi ostali sadržaj bio iznad canvas-a */
}

/* Dropdown section styling */
.dropdown-section, .code-section, .feedback-section {
    text-align: center;
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 70%;
    margin: 0 auto;
}

.dropdown-section label, .code-section label, .feedback-section p {
    display: block;
    color: #d4af37;
    margin: 10px 0 5px;
}

.dropdown-section select, .code-section input, .feedback-section textarea {
    width: 100%;
    height: 40px;
    border: 1px solid #d4af37;
    background-color: #1c1c1c;
    color: #d4af37;
    border-radius: 5px;
    padding: 5px;
    font-size: 16px;
    margin-bottom: 15px;
}

.feedback-section textarea {
    min-height: 100px;
}

.dropdown-section .dropdown-item {
    margin: 10px;
    flex: 1 1 300px; /* Allow items to grow and shrink */
}

@media (max-width: 768px) {
    #responseContainer {
        font-size: 18px;
        /* Veće slovo za bolju čitljivost */
    }

    button {
        font-size: 20px;
        /* Veće slovo na dugmićima */
    }

    .dropdown-section, .code-section, .feedback-section {
        max-width: 90%;
    }

    .dropdown-section select, .code-section input, .feedback-section textarea {
        width: 90%;
        font-size: 18px;
        /* Veće slovo za bolju čitljivost na mobilnim uređajima */
    }

    .dropdown-section .dropdown-item {
        width: 100%; /* Full width on mobile */
        margin: 5px 0;
    }
}
