@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100vh;
    margin: 30px 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    background-image: url('../static/side-image.png');
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: none;
    width: 100%;
    height: 100vh;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    padding-left: 350px;
    margin-top: auto;
    margin-bottom: auto;
}

.content {
    max-width: 1000px;
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.logo {
    width: 150px;
    margin-bottom: 40px;
}

h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #1F2937;
    line-height: 1.2;
    text-align: left;
    max-width: 90%;
}

p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #6B7280;
    text-align: left;
    max-width: 100%;
}

.question {
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #FA935B;
    text-align: left;
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.btn {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    padding: 20px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    color: #1F2937;
    text-align: center;
    width: 48%;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.btn:hover {
    background-color: #e2e6ea;
    transform: translateY(-2px);
}

.btn .bold-text {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    line-height: 23px;
    text-align: center;
}

.btn .description {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #6B7280;
    text-align: center;
    line-height: 16.8px;
    max-width: 100%;
}

/* Estilo para o botão selecionado */
.btn.selected {
    border-color: #FA935B;
    background-color: #FFF5EC;
    position: relative;
}

.btn.selected::after {
    content: "✔";
    position: absolute;
    top: 10px;
    right: 10px;
    color: #FA935B;
    font-size: 16px;
    font-weight: bold;
}

/* Campo de Input */
#websiteInput {
    margin-top: 20px;
}

#websiteInput label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #FA935B;
    margin-bottom: 5px;
}

#websiteInput input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: border-color 0.3s ease;
}

#websiteInput input:focus {
    border-color: #FA935B;
}

input::placeholder,
textarea::placeholder {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #6B7280;
    opacity: 1;
}

.footer {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.next-step {
    font-family: 'Inter', sans-serif;
    background-color: #4B5563;
    color: #fff;
    padding: 15px 50px 15px 30px;
    font-size: 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    background-image: url('https://img.icons8.com/ios-filled/50/ffffff/right.png');

    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 15px;
    display: inline-block;
}

.next-step:hover {
    background-color: #374151;
}

.next-step:disabled {
    background-color: #d1d5db;
    cursor: not-allowed;
}


.back-btn {
    font-family: 'Inter', sans-serif;
    background-color: transparent;
    color: #4B5563;
    padding: 15px 30px;
    font-size: 15px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    background-image: url('https://img.icons8.com/ios-glyphs/30/000000/left.png');
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 15px;
    padding-left: 30px;
}

.back-btn:hover {
    color: #FA935B;
}


.footer a {
    text-decoration: none;
    color: #1F2937;
    font-size: 15px;
    font-weight: 500;
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    background-color: #f0f0f0;
    margin-left: 15px;
}

.footer a span {
    color: #FA935B;
    font-weight: 500;
}

.illustration {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    display: none;
}

.illustration img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-left: auto;
}

#businessName,
#industry,
#otherIndustry,
#businessDescription,
#companySize,
#keyProduct,
#marketingChallenges,
#primaryGoal,
#otherGoal,
#targetAudience {
    font-family: 'Inter', sans-serif;
    margin-bottom: 20px;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: border-color 0.3s ease;
    width: 100%;
    height: auto;
    resize: none;
}

#industry {
    padding: 0;
}

#businessName:focus,
#industry:focus,
#otherIndustry:focus,
#businessDescription:focus,
#keyProduct:focus,
#marketingChallenges:focus,
#primaryGoal:focus,
#otherGoal:focus,
#targetAudience:focus {
    font-family: 'Inter', sans-serif;
    border-color: #FA935B;
    box-shadow: 0 0 10px rgba(250, 147, 91, 0.5);
}

textarea#targetAudience {
    font-family: 'Inter', sans-serif;
    height: auto;
    resize: none;
    overflow-y: auto;
    min-height: 48px;
    box-sizing: border-box;
    min-height: 100px;
    max-height: 150px;
    overflow-y: auto;
}

input[type="text"],
textarea {
    font-family: 'Inter', sans-serif;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    margin: 0;
    padding: 15px;
    font-size: 16px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 10px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type="text"]:focus,
textarea:focus {
    font-family: 'Inter', sans-serif;
    color: #495057;
    background-color: #fff;
    border-color: #FA935B;
    outline: 0;
    box-shadow: 0 0 10px rgba(250, 147, 91, 0.5);
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.channels-grid label {
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    padding: 15px;
    font-size: 16px;
    color: #1F2937;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.channels-grid input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
    accent-color: #FA935B;
}

.channels-grid label:hover {
    background-color: #e2e6ea;
}

.channels-grid input[type="checkbox"]:checked+label {
    border-color: #FA935B;
    background-color: #FFF5EC;
    box-shadow: 0 0 10px rgba(250, 147, 91, 0.5);
}

.email-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #FA935B;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.email-input {
    font-family: 'Inter', sans-serif;
    margin-bottom: 20px;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: border-color 0.3s ease;
    width: 100%;
    height: auto;
}

.email-input:focus {
    font-family: 'Inter', sans-serif;
    border-color: #FA935B;
    box-shadow: 0 0 10px rgba(250, 147, 91, 0.5);
}

.email-explanation {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #fb2525;
    margin-top: -10px;
    margin-bottom: 20px;
    display: block;
    text-align: left;
}

/* Spinner */
.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #FA935B;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Tablets and iPads */
@media (max-width: 1200px) {

    body {
        background-image: none;
    }

    .container {
        flex-direction: column;
        height: auto;
        width: 90%;
        padding-left: 5%;
        /* Adjust padding to keep text away from the image */
    }

    .content {
        width: 90%;
        /* Adjust width to prevent overlapping */
        padding: 20px;
        max-width: 100%;
    }

    .illustration {
        display: none;
        /* Hide the image on smaller screens if necessary */
    }
}

/* Mobile devices */
@media (max-width: 768px) {

    body {
        background-image: none;
    }

    .container {
        flex-direction: column;
        height: auto;
        width: 100%;
        padding-left: 5%;
        /* Keep enough padding so text doesn't overlap with the image */
    }

    .channels-grid {
        grid-template-columns: none;
    }

    .content {
        width: 100%;
        /* Full width on mobile devices */
        padding: 20px;
        max-width: 100%;
    }

    h1,
    p,
    .question {
        text-align: left;
        max-width: 100%;
    }

    .buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
    }

    .btn.selected {
        border-color: #FA935B;
        background-color: #FFF5EC;
        box-shadow: 0 0 10px rgba(250, 147, 91, 0.5);
    }

    .footer {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .next-step,
    .footer a {
        width: 100%;
        text-align: center;
    }

    .illustration {
        display: none;
        /* Hide the image entirely on small screens */
    }
}

#cookieConsentContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-left: -20px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(250, 147, 91, 1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgb(250, 128, 62);
}


/* Custom Dropdown Styles */
.custom-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dropdown-btn {
    display: flex;
    background-color: #ffffff;
    color: #1F2937;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: background-color 0.3s ease;
    justify-content: space-between;
    align-items: center;
}

.dropdown-btn:hover {
    background-color: #e2e6ea;
}

/* Dropdown Content (Hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    width: 100%;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    max-height: 200px;
    /* Limit the height to show only 5 options */
    overflow-y: auto;
    /* Enable scrolling if there are more than 5 options */
    border: 1px solid #ced4da;
    border-radius: 10px;
    box-sizing: border-box;
}

/* Individual Items in the dropdown */
.dropdown-item {
    color: #1F2937;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #e2e6ea;
}

/* Show the dropdown content when clicking */
.show .dropdown-content {
    display: block;
}

.show {
    display: block !important;
}