.form-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.form-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.form-header p {
    opacity: 0.9;
    font-size: 16px;
}

form {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: #ffffff;
    border-radius: 5px;
    flex: 1;
}

.f {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.required {
    color: #dc3545;
}

.optional {
    color: #6c757d;
    font-weight: 400;
    font-size: 12px;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
.input-group.with-icon {
    flex-direction: row;
    gap: 10px;
    align-items: center;
}
.input-group input[type="text"]:focus,
.input-group input[type="date"]:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.input-group small {
    display: block;
    margin-top: 0.25rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.input-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}
.checkbox-group label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}
.input-icon-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.input-icon-container input {
    flex: 1;
    margin: 0;
}

.input-icon-container i {
    color: #333;
}

input,
select,
textarea {
    border-radius: 5px;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    padding: .5rem .75rem;
    color: #333;
    font-size: 15px;
    transition: all 0.3s;
    flex: 1;
}

input:focus,
select:focus,
textarea:focus {
    background-color: #f8f9fa;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    border-color: #667eea;
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.w100 {
    width: 100%;
}

.h250 {
    height: 250px;
}

button[type="submit"],
button.submit,
.form-btn {
    background-color: #667eea;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: .5rem;
    font-size: 16px;
    font-weight: 600;
}

button[type="submit"]:hover,
button.submit:hover,
.form-btn:hover {
    background-color: #5568d3;
}

button[type="submit"]:focus,
button.submit:focus,
.form-btn:focus {
    outline: 2px solid #5568d3;
    outline-offset: 2px;
}

button[type="submit"]:active,
button.submit:active,
.form-btn:active {
    background-color: #4552b8;
    transform: scale(0.98);
}

button[type="submit"]:disabled,
button.submit:disabled,
.form-btn:disabled {
    background-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}


.error-message,
.ep1,
.ep2 {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;

}

.success-message {
    color: #155724;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    background-color: #d4edda;
    padding: 0.75rem;
    border-radius: 5px;
    text-align: center;
    border: 1px solid #c3e6cb;
}

.errorPrompt {
    border: 2px solid #dc3545 !important;
    background-color: #fff5f5;
}

.goodPrompt {
    border: 2px solid #28a745 !important;
    background-color: #f0f9f4;
}

.initPrompt {
    border: 1px solid #ced4da;
}

fieldset.form-section {
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 5px;
    border: 2px groove #FFF;
}

fieldset legend {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.section-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 14px;
}

.form-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.form-cta .form-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.radio-fields {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-fields .fr {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-fields input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.radio-fields label {
    margin: 0;
    cursor: pointer;
    font-weight: normal;
}

input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed #ced4da;
    background-color: #f8f9fa;
    cursor: pointer;
}

input[type="file"]:hover {
    border-color: #667eea;
    background-color: #e7f1ff;
}

small {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: -0.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

/* Grid layout for form fields */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

@media screen and (max-width: 768px) {
    .form-cta {
        flex-direction: column;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    form {
        padding: 1rem;
    }

    .form-header {
        padding: 20px;
    }

    .form-header h1 {
        font-size: 24px;
    }
}

.radio-box-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.radio-box-container .radio-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: #eaeaea;
    border-radius: 5px;
    box-shadow: var(--bs-light);
    cursor: pointer;
}
.radio-box-container .radio-box input {
    display: none;
}


.radio-box-container .radio-box:has(input:checked) {
    background: #667eea;
}

radio-box__benefits .fa-circle-check {
    color: #00AF19;
}


.form-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    gap: 10px;
}

.breadcrumb-step {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #52565a;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    background: #e7e7ee;
    min-width: fit-content;
    height: 80px;
    min-height: 80px;
}

.breadcrumb-step:not(:last-child)::after {
    content: '→';
    margin: 0 1rem;
    color: #52565a;
    font-size: 1.5rem;
}

.breadcrumb-step.current {
    background: #007bff;
    color: white;
    font-weight: 600;
}

.breadcrumb-step.accessible:not(.current):hover {
    background: #e9ecef;
    color: #495057;
    cursor: pointer;
}

.breadcrumb-step.locked {
    opacity: 0.5;
    cursor: not-allowed;
}

.breadcrumb-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    max-height: 28px;
    border-radius: 50%;
    background: #dee2e6;
    color: #495057;
    font-size: 0.875rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.breadcrumb-step.current .breadcrumb-step-number {
    background: white;
    color: #007bff;
}

.breadcrumb-step.accessible:not(.current) .breadcrumb-step-number {
    background: #28a745;
    color: white;
}

.breadcrumb-step.locked .breadcrumb-step-number {
    background: #e9ecef;
    color: #adb5bd;
}

.breadcrumb-step i {
    margin-right: 0.25rem;
}

/* Access Message Styles */
.access-message {
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 6px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.access-message i {
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-breadcrumb {
        flex-direction: column;
    }

    .breadcrumb-step:not(:last-child)::after {
        content: '↓';
        margin: 0 10px;
    }

    .breadcrumb-step {
        width: 100%;
        justify-content: center;
    }
}

/*  Keyword tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: .75rem;
}
.tag {
    display: flex;
    gap: 10px;
    padding: .25rem .75rem;
    border-radius: 50px;
    border: 1px solid #1e78ba;
    box-shadow: var(--bs-light);
}

fieldset {
    border: none;
}

.tag button {
    color: var(--danger-btn-bg);
}
.tag button:hover {
    color: var(--danger-btn-focus-bg);
}

/* Autocomplete list */
.autocomplete-list {
    display: none;
    flex-direction: column;
    background: var(--zinc-200);
    margin-top: -.75rem;
    border-radius: 5px;
    margin-bottom: 0.75rem;
    max-height: 208px;
    overflow: scroll;
    overflow-x: hidden;
    box-shadow: var(--bs-inset);
    padding: 0;
}

.autocomplete-list li {
    margin: 0;
    border-radius: 2px;
    padding: .25rem;
}
.autocomplete-list li:hover,
.autocomplete-list li:focus,
.autocomplete-list li:active {
    background: var(--zinc-300);
}

.autocomplete-list li.highlighted {
    background-color: #9ad5ef;
    cursor: pointer;
}

/* Credits Information Section */
.credits-info-section {
    background: linear-gradient(135deg, #667eea 0%, #556fdf 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.credits-info-heading {
    margin: 0 0 16px 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.credit-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 16px;
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

.credit-card-total {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.credit-card-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.credit-card-value {
    font-size: 28px;
    font-weight: bold;
}

.credits-info-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
}

.credits-info-text {
    margin: 0 0 8px 0;
}

.credits-info-text-secondary {
    margin: 0;
    opacity: 0.95;
}

@media screen and (max-width: 768px) {
    .credits-grid {
        grid-template-columns: 1fr;
    }
}
/* Listing Duration Warning Section */
.listing-duration-warning {
    background: linear-gradient(135deg, #ff9a56 0%, #f3904e 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.warning-icon {
    flex-shrink: 0;
    font-size: 32px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warning-content {
    flex: 1;
}

.warning-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.warning-message {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.warning-message:last-child {
    margin-bottom: 0;
}

.warning-message i {
    margin-top: 3px;
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .credits-grid {
        grid-template-columns: 1fr;
    }

    .listing-duration-warning {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .warning-message {
        justify-content: center;
    }
}
