/* static/style.css */

/* Body styling */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

/* Heading */
h1, h2 {
    color: #333;
}

.language-container {
    display: flex;               /* Use flexbox for alignment */
    justify-content: flex-end;   /* Align items to the right */
    align-items: center;         /* Vertically align label and dropdown */
    margin-bottom: 20px;         /* Add some space below for visual clarity */
}

.language-label {
    font-weight: bold;           /* Make the label bold */
    margin-right: 10px;          /* Add space between the label and dropdown */
}

.language-dropdown {
    display: inline-block;       /* Keep the dropdown inline */
}

/* Editor styling */
#editor {
    width: 100%;
    height: 300px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

/* Output area */
#outputArea {
    background-color: #f9f9f9;
    padding: 10px;
    min-height: 50px;
    border: 1px solid #ccc;
    white-space: pre-wrap;
}

/* Buttons */
button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}


/* Google Form */
#googleForm {
    margin-top: 20px;
}


/* Email Modal */
.modal {
    display: block; /* Show the modal by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* Centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    text-align: center;
}

.note-section {
    text-align: justify !important; /* Align text to the left */
}

.note-section ul {
    list-style-type: disc;      /* Force dots */
    list-style-position: outside;
    padding-left: 20px;         /* Make room for bullets */
    margin: 0;
}

.note-section li {
    display: list-item;         /* Ensure browser treats it as a list item */
    margin: 0;
}

#emailInput {
    padding: 10px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
}

#startButton {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

#emailError {
    margin-top: 10px;
}
