:root {
    --font-family-quicksand: 'Quicksand', sans-serif;
    --text-rgb-255-232-175: #ffe8af;
    --text-rgb-255-255-252: #fffffc;
    --text-rgb-0-61-166: #003da6;
    --text-rgb-7-29-76: #071d4c;
}
.modal-content {
    background-color: var(--text-rgb-0-61-166);
    border: none;
  }
  
  .modal-content h5,
  .modal-content p,
  .modal-content a {
    font-family: 'Quicksand', sans-serif;
  }
  
  .modal-content .btn {
    color: #0046BA;
  }
.embed-responsive-16by9:before {
    padding-top: 178.25%!important;
}
@font-face {
    font-family: 'Quicksand', sans-serif;
    src: url(../playworld/Quicksand-VariableFont_wght.ttf) format('truetype');
    font-weight: 700;
}

.bg-custom-blue-light {
    background-color: #e3f5ff;
}

.bg-custom-blue {
    background-color: #003da6;
}

.bg-custom-dark-blue {
    background-color: #0241a9;
}

.bg-custom-offwhite {
    background-color: #fffffc;
}

.bg-gold-2px {
    border-radius: 0.75rem;
    background: linear-gradient(90deg, #CBAB64 0%, #FFED9C 31.45%, #F8E392 43.23%, #EFD686 57.4%, #F0D894 73.7%, #BB9A56 87.05%, #F3D98C 100%);
    padding: 2px;
}

.text-custom-yellow {
    color: var(--text-rgb-255-232-175);
}

.text-custom-offwhite {
    color: var(--text-rgb-255-255-252);
}

.text-custom-blue {
    color: var(--text-rgb-0-61-166);
}

.text-custom-dark {
    color: var(--text-rgb-7-29-76);
}

.text-decoration-underline {
    cursor: pointer;
    text-decoration: underline;
}

.rounded-xl {
    border-radius: 12px;
}

.rounded-pill-xl {
    border-radius: 1000px;
}

.font-quicksand {
    font-family: var(--font-family-quicksand);
}

/* Custom font weights and sizes */
.fw-700 { font-weight: 700; }
.fw-500 { font-weight: 500; }
.fs-40 { font-size: 2.5rem; line-height: 2.5rem; }
.fs-32 { font-size: 32px; line-height: 32px; }
.fs-28 { font-size: 1.75rem; line-height: 1.75rem; }
.fs-24 { font-size: 24px; line-height: 28.8px; }
.fs-20 { font-size: 20px; line-height: 24px; }
.fs-18 { font-size: 1.125rem; line-height: 1.35rem; }
.fs-16 { font-size: 16px; line-height: 19.2px; }
.fs-14 { font-size: 14px; line-height: 16.8px; }

.letter-spacing-sm { letter-spacing: 0.32px; }
.letter-spacing-md { letter-spacing: 0.48px; }
.letter-spacing-lg { letter-spacing: 0.5px; }
.letter-spacing-neg { letter-spacing: -0.6px; }
.letter-spacing-neg-lg { letter-spacing: -1.92px; }

/* Custom button style */
.btn.btn-custom {
    display: block;
    background-color: #003da6;
    color: #fffffc;
    border-radius: 42px;
    padding: 16px 40px;
    font-family: var(--font-family-quicksand);
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 20px;
    border: none;
    margin: 0 auto;
    width: 100%;
    &:hover {
        color: #fffffc;
    }
}

@media screen and (min-width: 768px) {
    .btn.btn-custom {
        width: 50%;
    }
    
}

.title-banner {
    color: white;
    font-size: 24px;
    line-height: 24px;
    letter-spacing: -1.44px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.sub-title-banner {
    color: white;
    font-weight: 500;
    font-size: 14px;
    line-height: 16.8px;
    letter-spacing: 0.42px;
    padding: 0 15px;
}

.text-custom-dark>.form-check>label {
    color: #071D4C;
    font-weight: 700;
    margin-left: .5rem;
    margin-bottom: .5rem;
}

.text-custom-dark>.form-check>.form-check-input {
    background-color: #fff;
    border-color: rgba(217, 217, 217, 1);
    margin-top: 0;
    margin-bottom: .5rem;
    height: 1.2rem;
    width: 1.2rem;
}

.text-custom-dark>.form-check>.form-check-input:checked {
    background-color: #003DA6;
    border-color: #003DA6;
}

.label-teks {
    font-size: 14px;
    font-weight: 500;
    line-height: 16.8px;
    letter-spacing: 0.42px;
    padding-left: 12px;
    width: 80%;
}

.btn:disabled {
    background-color: #93939399;
}

.btn.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--text-rgb-0-61-166);
    border-radius: 1000px;
    gap: .25rem;
}

.btn-select {
    border: 1px solid #D9D9D9 !important;
}

.parents {
    padding: 10px 20px;
}

.goback {
    color: #003DA6;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: 0.16px;
    border: none;
    background: none;
}
/* Responsive container */
.prompt-1 {
    background: linear-gradient(180deg, #FFF -0.95%, var(--Color-Blue-Blue-10, #DBEDFF) 48.32%);
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    min-height: 100vh;
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
html, body, button, a, input, textarea {
    font-family: 'Quicksand', sans-serif !important;
}
h1 {
    letter-spacing: -.21rem;
}
.prompt-generator {
    display: none;
}
.state-container {
    padding: 1rem 0;
    hr {
        border-top: 1px dashed #6c757d;
        margin: 1rem 2rem -.75rem;
    }
    p {
        display: inline-block;
        font-weight: 600;
        max-width: 6rem;
        &:last-child {
            text-align: right;
        }
    }
}

select.form-control,
textarea.form-control,
input.form-control {
    border: 2px solid #e9ecef;
    border-radius: 3rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

select.form-control {
    color: rgba(0, 61, 166, 1);
    font-weight: 700;
    padding: 0 1rem;
}

textarea.form-control {
    border-radius: 1.5rem;
}

select.form-control:focus,
textarea.form-control:focus,
input.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

select.form-control::placeholder,
textarea.form-control::placeholder,
input.form-control::placeholder {
    color: rgba(147, 147, 147, 1);
}

.section-title {
    color: rgba(0, 61, 166, 1);
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    span {
        background-color: rgba(0, 61, 166, 1);
        color: #fff;
        border-radius: 50%;
        width: 2rem;
        height: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1rem;
        font-weight: 600;
        margin-right: 0.5rem;
    }
}

p>small,
.item-label,
.section-description {
    color: rgba(7, 29, 76, 1);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

p>small {
    font-size: .75rem;
    font-weight: 700;
}

.item-label {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.back-to-form-btn {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    width: 100%;
    margin-top: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Inline Results Styles */
.results-container {
    background-image: url("/themes/growhappytheme/components/pages/prompt-generator/images/bg.png");
    background-size: cover;
    background-position: center 0;
    margin: 0 auto;
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

@media screen and (min-width: 768px) {
    .results-container {
        background: linear-gradient(180deg, #FFF 18.84%, #E9F4FF 26.88%, var(--Color-Blue-Blue-10, #DBEDFF) 40.13%, #EAEBDD 47.04%, #F5E9C5 55.94%, var(--Color-Gold-Gold-10, #FFE8AF) 70.43%);
    }
    
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
}

.results-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.step-container {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.step-number {
    margin-left: -1rem;
    background: #FFE8AF;
    border-radius: 0 1000000000px 1000000000px 0;
    width: 28px;
    height: 28px;
    box-shadow: 0 2px 4px rgba(7, 29, 76, 0.24);
    padding: 1rem 1.25rem;
    span {
        font-family: 'Quicksand', sans-serif;
        font-weight: 700;
        font-size: 1.25rem;
        line-height: 28.8px;
        color: #003DA6;
        letter-spacing: 0.48px;
    }
}

@media screen and (min-width: 768px) {
    .step-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .step-number {
        margin-left: -1.5rem;
    }
}

.step-title {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1rem; 
    line-height: 24px;
    color: #003DA6;
}

.prompt-container {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.prompt-text {
    font-size: 1rem;
    font-weight: 500;
    color: #4F4F4F;
    margin: 0;
    max-height: 4rem;
    overflow-y: auto;
}

@media screen and (min-width: 768px) {
    .prompt-text {
        max-height: 10.1rem;
    }
    
}

.download-btn {
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.download-btn:hover {
    background: #34495e;
    transform: translateY(-1px);
}

.packaging-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.website-preview {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    color: white;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

.website-preview::before {
    content: "●●●";
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    color: #ff5f56;
    font-size: 0.8rem;
}

.website-content {
    margin-top: 1.5rem;
    line-height: 1.4;
}

.upload-preview {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.upload-item {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    flex: 1;
    min-width: 150px;
    transition: all 0.3s ease;
}

.upload-item:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.upload-icon {
    font-size: 2rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.upload-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

.back-to-form-btn {
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.back-to-form-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

@media (max-width: 576px) {
    
    .form-title {
        font-size: 1.1rem;
    }

    .step-container {
        margin-bottom: 2rem;
        padding: 1rem;
    }

    .upload-preview {
        flex-direction: column;
    }
}

/* Terms Modal */
.tnc-modal .modal-dialog {
    max-width: 327px;
    margin: 1.75rem auto;
}

@media screen and (min-width: 768px) {
    .tnc-modal .modal-dialog {
        max-width: 744px;
    }
}

.tnc-modal .modal-content {
    background: transparent;
    border: none;
    border-radius: 24px;
    overflow: hidden;
}

.tnc-modal .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.8);
}

.tnc-tabs-container {
    background: linear-gradient(135deg, #015eb2 0%, #003da6 100%);
    border-radius: 16px 16px 0 0;
    display: flex;
    position: relative;
}

.tnc-tab {
    flex: 1;
    text-align: center;
    position: relative;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.tnc-tab.active {
    background: #003da6;
    border-radius: 16px 16px 0 0;
    opacity: 1;
    .tnc-tab-content {
        color: rgba(255, 232, 175, 1);
    }
}

.tnc-tab-content {
    padding: 24px 16px;
    color: #fffffc;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: -0.48px;
    text-align: center;
}

.tnc-tab.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 1rem;
    right: 1rem;
    height: 8px;
    background: linear-gradient(90deg, #CBAB64 0%, #FFED9C 31.45%, #F8E392 43.23%, #EFD686 57.4%, #F0D894 73.7%, #BB9A56 87.05%, #F3D98C 100%);
    border-radius: 0 0 24px 24px;
}

.tnc-modal-body {
    background: #003da6;
    flex: 1;
    padding: 32px 16px;
    display: flex;
    border-radius: 0 0 24px 24px;
    position: relative;
}

.tnc-content-area {
    flex: 1;
    color: #fffffc;
    font-family: 'Quicksand', sans-serif;
    overflow-y: auto;
    padding-right: 16px;
    scrollbar-width: auto;
    scrollbar-color: #ffffff #00000040;
}

.tnc-list {
    font-weight: 500;
    font-size: 16px;
    line-height: 19.2px;
    letter-spacing: 0.32px;
    margin: 0;
    padding-left: 20px;
}

.tnc-list li {
    margin-bottom: 8px;
    position: relative;
}

.tnc-list li:last-child {
    margin-bottom: 0;
}

.tnc-highlight {
    font-weight: bold;
    letter-spacing: 0.4px;
}

.tnc-note {
    font-weight: bold;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.tnc-note-content {
    font-weight: normal;
}

.tnc-close-btn {
    background: #fffffc;
    color: #003da6;
    border: none;
    border-radius: 42px;
    padding: 16px 40px;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: -0.48px;
    margin-top: 24px;
    width: 100%;
    transition: all 0.3s ease;
}

.tnc-close-btn:hover {
    background: #f0f0f0;
    color: #003da6;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

@media screen and (min-width: 768px) {
    .grid {
        display: grid;
        grid-template-rows: repeat(var(--bs-rows, 1), 1fr);
        grid-template-columns: repeat(var(--bs-columns, 12), 1fr);
        gap: var(--bs-gap, 1.5rem);
    }
    .grid .g-col-8 {
        grid-column: auto / span 8;
    }
    .grid .g-col-7 {
        grid-column: auto / span 7;
    }
    .grid .g-col-5 {
        grid-column: auto / span 5;
    }
    .grid .g-col-4 {
        grid-column: auto / span 4;
    }
    .ml-500 {
        margin-left: 500px;
    }
    .fs-md-40 { font-size: 2.5rem; line-height: 2.5rem; }
}