/* ── Listing Wrap ────────────────────────────────────── */
.adv-blog-form-header {
    background: #000;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    color: #F4F1EE;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.adv-listing-wrap {
    width: 100%;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.adv-listing-header {
    margin-bottom: 40px;
}

.adv-listing-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.adv-listing-header p {
    color: #6b7280;
    line-height: 1.6;
}

/* ── Form Sections ───────────────────────────────────── */
.adv-form-section {
    background: linear-gradient(135deg, #ffffff 0%, #faf9f7 100%);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.adv-form-section:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.adv-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f3f4f6;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.adv-section-title svg {
    color: #A07949;
}

/* ── Fields (reuses auth.css base styles) ────────────── */
.adv-listing-form .adv-field {
    margin-bottom: 20px;
}

.adv-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.adv-listing-form input[type="text"],
.adv-listing-form input[type="email"],
.adv-listing-form input[type="tel"],
.adv-listing-form input[type="url"] {
    padding: 12px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 10px !important;
    font-size: 0.95rem;
    color: #1a1a1a;
    width: 100%;
    background: #ffffff;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.adv-listing-form input[type="text"]:focus,
.adv-listing-form input[type="email"]:focus,
.adv-listing-form input[type="tel"]:focus,
.adv-listing-form input[type="url"]:focus {
    outline: none;
    border-color: #A07949;
    box-shadow: 0 0 0 4px rgba(160, 121, 73, 0.1);
    background: #ffffff;
}

.adv-listing-form textarea {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #1a1a1a;
    width: 100%;
    resize: vertical;
    background: #ffffff;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.adv-listing-form textarea:focus {
    outline: none;
    border-color: #A07949;
    box-shadow: 0 0 0 4px rgba(160, 121, 73, 0.1);
    background: #ffffff;
}

.adv-listing-form select {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #1a1a1a;
    background: #ffffff;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.adv-listing-form select:focus {
    outline: none;
    border-color: #A07949;
    box-shadow: 0 0 0 4px rgba(160, 121, 73, 0.1);
}

/* ── Radio Group ─────────────────────────────────────── */
.adv-radio-group {
    display: flex;
    gap: 24px;
}

.adv-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #374151;
    cursor: pointer;
    font-weight: 500;
}

.adv-radio-label input[type="radio"] {
    accent-color: #A07949;
    width: 16px;
    height: 16px;
}

/* ── Social icon wrap ────────────────────────────────── */
.adv-input-icon-wrap {
    display: flex;
    align-items: center;
}

.adv-input-icon {
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-right: none;
    border-radius: 10px 0 0 10px;
    padding: 12px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #6b7280;
    min-width: 36px;
    text-align: center;
    transition: all 0.3s ease;
}

.adv-input-icon-wrap input {
    border-radius: 0 10px 10px 0 !important;
    flex: 1;
}

/* ── File input ──────────────────────────────────────── */
input[type="file"] {
    font-size: 0.9rem;
    color: #374151;
    padding: 8px 0;
    width: 100%;
}

.adv-listing-form small {
    color: #6b7280;
    font-size: 0.8rem;
    display: block;
    margin-top: 4px;
}

/* ── Upload Area ─────────────────────────────────────── */
.adv-banner-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 14px;
    padding: 40px;
    text-align: center;
    background: #fafafa;
}

.adv-banner-upload-area:hover {
    border-color: #A07949;
    background: #f5f5f5;
}

.adv-banner-upload-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.adv-banner-upload-icon svg {
    color: #A07949;
}

.adv-banner-upload-placeholder p {
    margin: 4px 0;
    color: #374151;
}

.adv-banner-upload-hint {
    font-size: .8rem;
    color: #6b7280;
}

.adv-banner-upload-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    object-fit: contain;
}

.adv-banner-upload-preview-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.adv-banner-upload-preview-info span {
    font-size: .85rem;
    color: #374151;
}

.adv-clear-upload {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    color: #6b7280;
    font-size: .8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.adv-clear-upload:hover {
    border-color: #ef4444;
    color: #ef4444;
}

/* ── Submit ──────────────────────────────────────────── */
.adv-form-submit {
    text-align: center;
    margin-top: 8px;
}

.adv-form-submit .adv-btn {
    padding: 14px 48px;
    font-size: 1rem;
    width: auto;
    display: inline-block;
}

.adv-submit-note {
    margin-top: 14px;
    font-size: 0.85rem;
    color: #9ca3af;
}

.adv-submit-note svg {
    color: #A07949;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 600px) {
    .adv-form-section {
        padding: 20px 16px;
    }

    .adv-field-row {
        grid-template-columns: 1fr;
    }

    .adv-radio-group {
        flex-direction: column;
        gap: 12px;
    }
}

/* ── Rich Notice Cards ────────────────────────────────── */
.adv-notice-card {
    max-width: 580px;
    margin: 50px auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    box-sizing: border-box;
}

.adv-notice-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.adv-notice-icon-box.purple {
    background: #F4F1EE;
    border: 1px solid #A07949;
}

.adv-notice-icon-box.blue {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.adv-notice-icon-box.yellow {
    background: #fef9c3;
    border: 1px solid #fef08a;
}

.adv-notice-body {
    flex: 1;
}

.adv-notice-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
    line-height: 1.3;
}

.adv-notice-body p {
    font-size: 0.92rem;
    color: #4b5563;
    margin: 0 0 20px;
    line-height: 1.55;
}

.adv-notice-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.adv-notice-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.adv-notice-btn.primary {
    background: linear-gradient(135deg, #A07949 0%, #c9a066 100%);
    color: #F4F1EE !important;
    box-shadow: 0 8px 24px rgba(160, 121, 73, 0.35);
}

.adv-notice-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(160, 121, 73, 0.45);
    background: linear-gradient(135deg, #8a663d 0%, #b08a55 100%);
}

.adv-notice-btn.outline {
    background: #ffffff;
    color: #374151 !important;
    border: 1.5px solid #d1d5db;
}

.adv-notice-btn.outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111827 !important;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .adv-listing-wrap {
        padding: 0 0 40px;
    }

    .adv-listing-header {
        padding: 32px 24px;
        margin-bottom: 24px;
    }

    .adv-listing-header h2 {
        font-size: 1.5rem;
    }

    .adv-form-section {
        padding: 24px;
        margin-bottom: 20px;
    }

    .adv-form-row {
        margin-bottom: 16px;
    }

    .adv-radio-group {
        gap: 12px;
    }

    .adv-radio-option {
        padding: 12px 16px;
    }

    .adv-social-icon-wrap {
        gap: 10px;
    }

    .adv-social-icon-wrap button {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .adv-upload-area {
        padding: 32px 24px;
    }

    .adv-notice-card {
        padding: 28px 24px;
        margin: 40px auto;
    }

    .adv-btn-primary {
        padding: 14px 28px;
    }
}

@media (max-width: 600px) {
    .adv-form-section {
        padding: 20px 16px;
    }

    .adv-form-row {
        grid-template-columns: 1fr;
    }

    .adv-listing-header {
        padding: 28px 20px;
    }

    .adv-listing-header h2 {
        font-size: 1.4rem;
    }

    .adv-form-section-title {
        font-size: 1rem;
    }

    .adv-form-row label {
        font-size: 0.85rem;
    }

    .adv-form-row input[type="text"],
    .adv-form-row textarea {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .adv-radio-group {
        grid-template-columns: 1fr;
    }

    .adv-radio-option {
        padding: 10px 14px;
    }

    .adv-social-icon-wrap {
        flex-wrap: wrap;
    }

    .adv-upload-area {
        padding: 28px 20px;
    }

    .adv-upload-icon {
        font-size: 2rem;
    }

    .adv-upload-hint {
        font-size: 0.85rem;
    }
}

@media (max-width: 540px) {
    .adv-listing-wrap {
        padding: 0 0 32px;
    }

    .adv-listing-header {
        padding: 24px 16px;
        margin-bottom: 20px;
    }

    .adv-listing-header h2 {
        font-size: 1.25rem;
    }

    .adv-listing-header p {
        font-size: 0.85rem;
    }

    .adv-form-section {
        padding: 18px 16px;
        border-radius: 12px;
    }

    .adv-form-row {
        margin-bottom: 14px;
    }

    .adv-form-row input[type="text"],
    .adv-form-row textarea {
        padding: 10px 14px;
    }

    .adv-radio-option {
        padding: 10px 12px;
    }

    .adv-radio-option strong {
        font-size: 0.9rem;
    }

    .adv-radio-option small {
        font-size: 0.75rem;
    }

    .adv-social-icon-wrap button {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .adv-upload-area {
        padding: 24px 16px;
    }

    .adv-upload-icon {
        font-size: 1.8rem;
    }

    .adv-upload-hint {
        font-size: 0.8rem;
    }

    .adv-notice-card {
        flex-direction: column;
        padding: 24px 20px;
        margin: 30px 16px;
    }
}

@media (max-width: 400px) {
    .adv-listing-wrap {
        padding: 0 0 24px;
    }

    .adv-listing-header {
        padding: 20px 14px;
        border-radius: 14px;
    }

    .adv-listing-header h2 {
        font-size: 1.1rem;
    }

    .adv-form-section {
        padding: 16px 14px;
    }

    .adv-form-section-title {
        font-size: 0.95rem;
    }

    .adv-form-row label {
        font-size: 0.8rem;
    }

    .adv-form-row input[type="text"],
    .adv-form-row textarea {
        padding: 9px 12px;
        font-size: 0.85rem;
    }

    .adv-radio-option {
        padding: 8px 12px;
    }

    .adv-radio-option strong {
        font-size: 0.85rem;
    }

    .adv-radio-option small {
        font-size: 0.7rem;
    }

    .adv-social-icon-wrap {
        gap: 8px;
    }

    .adv-social-icon-wrap button {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .adv-upload-area {
        padding: 20px 14px;
    }

    .adv-upload-icon {
        font-size: 1.5rem;
    }

    .adv-upload-hint {
        font-size: 0.75rem;
    }

    .adv-notice-card {
        padding: 20px 16px;
        margin: 24px 12px;
    }

    .adv-notice-icon-box {
        width: 48px;
        height: 48px;
    }

    .adv-notice-body h3 {
        font-size: 1.1rem;
    }

    .adv-notice-body p {
        font-size: 0.85rem;
    }
}