/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
	font-family: 'bignoodletitling';
	src: local('bignoodletitling'), url('../fonts/bignoodletitling.woff') format('woff');
}
/* use this class to attach this font to any element i.e. <p class="fontsforweb_fontid_2555">Text with this font applied</p> */
.bignoodletitling {
	font-family: 'bignoodletitling' !important;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.logo-box {
    border: 4px solid #000000;
    padding: 0.25rem 0.5rem;
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #1f2937;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #6b7280;
}

/* Buttons */
.btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-login {
    background-color: #86efac;
    color: #1f2937;
}

.btn-login:hover {
    background-color: #6ee7b7;
}

.btn-primary {
    background-color: #86efac;
    color: #1f2937;
    padding: 0.75rem 2rem;
}

.btn-primary:hover {
    background-color: #6ee7b7;
}

.btn-secondary {
    background-color: #ffffff;
    color: #1f2937;
    border: 1px solid #d1d5db;
    padding: 0.75rem 2rem;
}

.btn-secondary:hover {
    background-color: #f3f4f6;
}

/* Hero Section */
.hero {
    max-width: 1024px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    text-align: center;
}

.hero-title {
    font-size: 4.75rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.text-green {
    color: #16a34a;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Generator Section */
.generator-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Tabs */
.tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.tab {
    font-size: 1.5rem;
    font-weight: 700;
    background: none;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    padding-bottom: 0.5rem;
    border-bottom: 4px solid transparent;
    transition: all 0.2s;
}

.tab-active {
    color: #1f2937;
    border-bottom-color: #86efac;
}

.tab:hover {
    color: #6b7280;
}

.tab-divider {
    font-size: 2.5rem;
    font-weight: 100;
    color: #d1d5db;
}

/* Generator Grid */
.generator-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* Generator Form */
.generator-form {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.form-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.form-tab {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.form-tab-active {
    color: #1f2937;
    border-bottom-color: #86efac;
}

.form-tab:hover {
    color: #6b7280;
}

.form-content {
    padding: 1rem 0;
}

.form-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

/* Data Type Grid */
.data-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.data-type-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.data-type-btn:hover {
    border-color: #9ca3af;
}

.data-type-btn.active {
    background-color: #86efac;
    border-color: #86efac;
}

.data-icon {
    font-size: 1rem;
}

/* Input Area */
.input-area {
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.input-label {
    color: #374151;
    margin-bottom: 0.25rem;
}

.input-sublabel {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.file-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #16a34a;
    font-size: 0.875rem;
    cursor: pointer;
    position: relative;
}

.upload-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Form Options */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.option-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox {
    width: 1rem;
    height: 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    accent-color: #86efac;
}

.option-label {
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
}

.info-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.info-btn:hover {
    color: #6b7280;
}

.info-icon {
    width: 1rem;
    height: 1rem;
}

/* QR Preview */
.qr-preview {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code {
    width: 16rem;
    height: 16rem;
    background-color: #ffffff;
    border: 4px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-svg {
    width: 100%;
    height: 100%;
    padding: 1rem;
}

/* Barcode finish thumbnails */
#barcodeFinishPreview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
#barcodeFinishPreview .barcode-thumb {
    width: 55.5px;
    height: 30.5px;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
} 

/* How To Section */
.howto-section {
    max-width: 1024px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    text-align: center;
}

.howto-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.howto-subtitle {
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 4rem;
}

/* Steps */
.steps {
    margin-top: 2rem;
}

.step {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: left;
}

.step-last {
    border-bottom: 1px solid #e5e7eb;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-description {
    color: #374151;
}

/* Step Navigation */
.step-header {
    margin-bottom: 1.5rem;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.back-btn:hover {
    color: #1f2937;
}

.back-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Destination Form */
.destination-form {
    padding: 1rem 0;
}

.input-field-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.required {
    color: #ef4444;
}

.text-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.text-input:focus {
    outline: none;
    border-color: #86efac;
}

.input-hint {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.btn-full {
    width: 100%;
}

/* Style Section */
.style-section {
    padding: 1rem 0;
}

.style-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    margin-top: 1.5rem;
}

.style-section-title:first-child {
    margin-top: 0;
}

.style-section-desc {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.style-section-note {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.logo-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s;
}

.logo-upload-area:hover {
    border-color: #86efac;
}

.upload-icon-large {
    width: 3rem;
    height: 3rem;
    color: #16a34a;
    margin: 0 auto 1rem;
}

.upload-text {
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.25rem;
}

.upload-subtext {
    font-size: 0.75rem;
    color: #9ca3af;
}

.style-note {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.divider-text {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #9ca3af;
    margin: 2rem 0;
    position: relative;
}

.divider-text::before,
.divider-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: #e5e7eb;
}

.divider-text::before {
    left: 0;
}

.divider-text::after {
    right: 0;
}

.color-picker-section {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.color-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.color-input-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.color-picker {
    width: 3rem;
    height: 3rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    cursor: pointer;
}

.color-hex-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-family: monospace;
}

.color-hex-input:focus {
    outline: none;
    border-color: #86efac;
}

/* Finish Step */
.account-prompt {
    background-color: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.account-prompt p {
    font-size: 0.875rem;
    color: #374151;
    margin: 0;
}

.link-green {
    color: #16a34a;
    text-decoration: none;
    font-weight: 500;
}

.link-green:hover {
    text-decoration: underline;
}

.download-settings-header {
    margin-bottom: 1.5rem;
}

.settings-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.settings-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    display: inline;
}

.change-link {
    background: none;
    border: none;
    color: #16a34a;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    margin-left: 1rem;
    text-decoration: none;
}

.change-link:hover {
    text-decoration: underline;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-download {
    flex: 1;
    background-color: #16a34a;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-download:hover {
    background-color: #15803d;
}

/* Custom Settings */
.custom-settings {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.setting-group {
    margin-bottom: 1.5rem;
}

.setting-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.size-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.size-input {
    width: 5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.size-input:focus {
    outline: none;
    border-color: #86efac;
}

.size-unit {
    font-size: 0.875rem;
    color: #6b7280;
}

.toggle-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-checkbox {
    width: 2.5rem;
    height: 1.25rem;
    appearance: none;
    background-color: #d1d5db;
    border-radius: 9999px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s;
}

.toggle-checkbox::before {
    content: '';
    position: absolute;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: #ffffff;
    top: 0.125rem;
    left: 0.125rem;
    transition: transform 0.2s;
}

.toggle-checkbox:checked {
    background-color: #86efac;
}

.toggle-checkbox:checked::before {
    transform: translateX(1.25rem);
}

.toggle-label {
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
}

.save-changes-btn {
    background: none;
    border: none;
    color: #16a34a;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    margin-top: 1rem;
}

.save-changes-btn:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .generator-grid {
        grid-template-columns: 1fr;
    }

    .qr-preview {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .data-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .howto-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .data-type-grid {
        grid-template-columns: 1fr;
    }

    .form-tabs {
        overflow-x: auto;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 800px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.modal-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

.modal-content p {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-content ul, .modal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-content li {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #1f2937;
}
