body {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    background-color: #6cc788;
    background: linear-gradient(180deg, rgba(35, 193, 170, 1) 0%, rgba(108, 199, 136, 1) 35%, rgba(212, 223, 97, 1) 100%);
    min-height: 100vh;
    height: 100%;
    display: flex;
}

.modal{
    backdrop-filter: blur(3px);
}

main{
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 320px;
}

.fullscreen{
    flex: 1;
    height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-bottom: 3rem;
}

.header {
    color: #ffffff;
    max-width: 768px;
    margin: auto;
    /* margin-top: 4rem; */
    margin-bottom: 2.5rem;
}

.faq{
    display: flex;
    padding: 2rem;
}

.card {
    max-width: 768px;
    width: 100%;
    padding: 2rem;
    margin: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Dropzone */
#dropzone {
    border: 2px dashed #ccc;
    border-radius: 0.375rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
    position: relative;
}

#dropzone.dragover {
    border-color: #6cc788;
    background-color: rgba(108, 199, 136, 0.08);
}

.dropzone-placeholder i {
    color: #aaa;
}

.dropzone-browse {
    color: #6cc788;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
}

.dropzone-add-file{
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 4px 12px;
    background-color: #e9e9e9;
    font-size: 13px;
    border-radius: 5px;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
    display: none;
}

.dropzone-add-file.show{
    display: block;
}

.dropzone-add-file:hover {
    background-color: #6cc788;
    color: #ffffff;
}

.dropzone-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    /*margin-top: 0.75rem;*/
    justify-content: center;
}

.dropzone-preview:empty {
    display: none;
}

.dropzone-thumb {
    position: relative;
    max-width: 120px;
    max-height: 120px;
    border-radius: 0.375rem;
    overflow: hidden;
    border: 1px solid #ddd;
}

.dropzone-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropzone-thumb .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    transition: background-color .15s ease-in-out;
}

.dropzone-thumb .remove-btn:hover{
    background-color: #dc3545;
}

.platform-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.platform-button {
    color: #6c757d;
    border: 0;
    padding: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 50%;
    border: 1px solid #f0f0f0;
    transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.platform-button:hover {
    color: #454b51;
    border-color: #d4d4d4;
}

.platform-button.active {
    color: white;
    background-color: #6cc788;
    border-color: #6cc788;
}

.platform-button i {
    font-size: 24px;
}

textarea {
    resize: none;
}

textarea:focus {
    border-color: #6cc788 !important;
    box-shadow: 0 0 0 0.2rem rgba(108, 199, 136, 0.25) !important;
}

.form-check .form-check-label::before {
    background-color: #dc3545 !important;
}

.form-check .form-check-input:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%236cc788'/%3e%3c/svg%3e");
    border-color: #6cc788 !important;
    box-shadow: 0 0 0 0.2rem rgba(108, 199, 136, 0.25) !important;
}

.form-check .form-check-input:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffffff'/%3e%3c/svg%3e");
    background-color: #6cc788 !important;
    border-color: #6cc788 !important;
}

#language {
    width: 150px;
    /*
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    */
}

#generate{
    min-width: 350px;
}

.developed{
    max-width: 768px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.developed img{
    width: 250px;
}

select:focus {
    border-color: #6cc788 !important;
    box-shadow: 0 0 0 0.2rem rgba(108, 199, 136, 0.25) !important;
}

.btn-success {
    background-color: #6cc788;
    border-color: #6cc788;
}

.btn-success:hover {
    background-color: #5ab377;
    border-color: #5ab377;
}

.loader {
    width: 48px;
    height: 48px;
    margin: auto;
    border: 5px solid #6cc788;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

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

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

.faq-section {
    max-width: 800px;
    margin: auto;
    color: #ffffff;
}

.tooltip{
    --bs-tooltip-padding-x: 0.75rem;
    --bs-tooltip-padding-y: 0.35rem;
    --bs-tooltip-bg: var(--bs-gray-900);
}

@media (max-width: 1024px){
    .tones {
        flex-wrap: wrap;
    }

    .header {
        margin-top: 3rem;
    }    
}

@media (max-width: 1024px){
    textarea.form-control{
        min-height: 160px;
    }   
}

@media (max-width: 550px){
    body{
        --bs-body-font-size: 0.88rem;
    }   

    .header {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }        
    
    .fullscreen{
        padding: 1rem;
    }    

    .developed img{
        max-width: 200px;
    }

    #generate{
        min-width: 200px;
    }    
}

@media (max-width: 460px){
    .card{
        padding: 1.25rem;
    }

    .faq{
        padding: 1rem;
    }
}

@media (max-width: 415px){
    .fullscreen{
        padding: 0.5rem;
    }    
}

.fit-column-center{
    height: -webkit-fill-available;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.output-item-image {
    max-width: 150px;
    aspect-ratio: 1;
    margin-bottom: 0;
}

.output-item-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.output-item-body{
    flex: 1;
    display: flex;
    min-height: 100px;
    height: -webkit-fill-available;
    gap: 10px;
}

@media (max-width: 565px){
    .output-item-body{
        flex-direction: column;
        flex-wrap: wrap;
    }

    .output-item-image{
        margin: 0 auto;
    }
}