/*--------------------------------------------------------------
# Shared Create Pages - Responsive Form System
--------------------------------------------------------------*/

.create-page {
    background:
        radial-gradient(circle at top right, rgba(80, 197, 255, 0.08), transparent 22%),
        linear-gradient(180deg, #f8fbfd 0%, #f7fafc 100%);
}

.create-layout,
.bottom-cards {
    align-items: stretch;
}

.create-page-shell {
    max-width: 1600px;
}


/*--------------------------------------------------------------
# Shared Cards
--------------------------------------------------------------*/

.create-side-card,
.create-form-card,
.create-mini-card,
.banner-preview-card,
.create-map-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.create-side-card,
.create-form-card,
.create-mini-card {
    border-radius: 22px;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.create-side-card:hover,
.create-form-card:hover,
.create-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 46px rgba(15, 23, 42, 0.10);
    border-color: rgba(80, 197, 255, 0.20);
}

.create-side-card,
.create-form-card {
    padding: 28px;
    height: 100%;
}

.create-mini-card {
    padding: 22px;
    height: 100%;
}


/*--------------------------------------------------------------
# Left / Side Card
--------------------------------------------------------------*/

.create-badge,
.create-mini-badge,
.create-mini-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.create-badge {
    min-height: 36px;
    padding: 6px 12px;
    margin-bottom: 16px;
    background: var(--accent-soft);
    border: 1px solid rgba(80, 197, 255, 0.18);
    color: #1c5875;
    font-size: 0.75rem;
}

.create-badge i {
    color: var(--accent-color);
}

.create-side-card h3,
.create-form-head h3 {
    margin: 0 0 10px;
    font-size: 1.42rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--heading-color);
    font-family: var(--heading-font);
}

.create-side-text,
.create-form-head p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--default-color);
}


/*--------------------------------------------------------------
# Feature List
--------------------------------------------------------------*/

.create-feature-list {
    display: grid;
    gap: 14px;
    margin: 24px 0;
}

.create-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.create-feature-item i {
    margin-top: 3px;
    color: var(--accent-color);
    font-size: 1rem;
    flex: 0 0 auto;
}

.create-feature-item span {
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--default-color);
}


/*--------------------------------------------------------------
# Info Grid
--------------------------------------------------------------*/

.create-info-grid {
    display: grid;
    gap: 14px;
}

.create-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: var(--surface-muted);
    border: 1px solid var(--border-color);
}

.create-info-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent-color);
    font-size: 1rem;
}

.create-info-box h4 {
    margin: 0 0 4px;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--heading-color);
}

.create-info-box p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--default-color);
    word-break: break-word;
}


/*--------------------------------------------------------------
# Form Head
--------------------------------------------------------------*/

.create-form-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.create-form-head-main {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
}

.create-form-icon,
.create-mini-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent-color);
}

.create-form-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 16px;
    font-size: 1.15rem;
}

.create-mini-badge {
    min-height: 32px;
    padding: 6px 11px;
    margin-bottom: 10px;
    background: rgba(80, 197, 255, 0.10);
    border: 1px solid rgba(80, 197, 255, 0.18);
    color: #1c5875;
    font-size: 0.72rem;
}

.create-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--heading-color);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.create-back-btn:hover {
    background: var(--surface-muted);
    border-color: rgba(80, 197, 255, 0.20);
    color: var(--heading-color);
    transform: translateY(-1px);
}

.create-back-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(80, 197, 255, 0.12);
}


/*--------------------------------------------------------------
# Typography Helpers
--------------------------------------------------------------*/

.create-page .form-label {
    margin-bottom: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--heading-color);
}

.soft-muted {
    color: var(--default-color);
}

.small {
    font-size: 0.82rem !important;
}


/*--------------------------------------------------------------
# Form Fields
--------------------------------------------------------------*/

.create-input-wrap,
.create-textarea-wrap,
.paid-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.create-input-wrap {
    min-height: 54px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.create-textarea-wrap {
    overflow: hidden;
}

.create-input-wrap i {
    width: 48px;
    flex: 0 0 48px;
    text-align: center;
    color: #98a2b3;
    font-size: 0.96rem;
    transition: color 0.25s ease;
}

.create-input,
.create-select,
.create-textarea {
    width: 100%;
    border: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
    color: var(--heading-color);
    font-size: 0.95rem;
    font-family: inherit;
}

.create-input,
.create-select {
    min-height: 54px;
    padding: 0 16px 0 0;
}

.create-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #98a2b3 50%),
        linear-gradient(135deg, #98a2b3 50%, transparent 50%);
    background-position:
        calc(100% - 22px) calc(50% - 3px),
        calc(100% - 16px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 42px;
}

.create-textarea {
    min-height: 160px;
    padding: 14px 16px;
    resize: vertical;
    line-height: 1.75;
}

.create-input::placeholder,
.create-textarea::placeholder {
    color: #98a2b3;
}

.create-input-wrap:focus-within,
.create-textarea-wrap:focus-within,
.paid-box:focus-within {
    border-color: rgba(80, 197, 255, 0.65);
    box-shadow: 0 0 0 4px rgba(80, 197, 255, 0.10);
}

.create-input-wrap:focus-within i,
.create-textarea-wrap:focus-within+.input-help,
.create-input-wrap:focus-within i {
    color: var(--accent-color);
}

.create-input-wrap.is-invalid-wrap,
.create-textarea-wrap.is-invalid-wrap {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.08);
}

.create-input.is-invalid,
.create-select.is-invalid,
.create-textarea.is-invalid {
    color: var(--heading-color);
}

.invalid-feedback,
.field-feedback {
    margin-top: 8px;
    font-size: 0.84rem;
    line-height: 1.55;
}

.input-help {
    margin-top: 8px;
    font-size: 0.84rem;
    line-height: 1.6;
    color: var(--default-color);
}

/*--------------------------------------------------------------
# Password Field
--------------------------------------------------------------*/

.create-password-wrap .create-input {
    padding-right: 0;
}

.create-password-toggle {
    width: 46px;
    min-height: 54px;
    border: 0;
    background: transparent;
    color: #98a2b3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    transition: color 0.25s ease;
}

.create-password-toggle:hover {
    color: var(--accent-hover);
}

.create-password-toggle:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(80, 197, 255, 0.12);
}


/*--------------------------------------------------------------
# Notes / Alerts
--------------------------------------------------------------*/

.create-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(80, 197, 255, 0.08);
    border: 1px solid rgba(80, 197, 255, 0.14);
}

.create-note i {
    margin-top: 2px;
    color: var(--accent-color);
    font-size: 1rem;
    flex: 0 0 auto;
}

.create-note span,
.create-note p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #21536d;
}

.create-form-card .alert {
    border-radius: 16px;
    border: 1px solid rgba(255, 193, 7, 0.30);
    font-size: 0.92rem;
    line-height: 1.65;
}


/*--------------------------------------------------------------
# Actions
--------------------------------------------------------------*/

.create-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.create-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.create-btn-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
    box-shadow: 0 10px 24px rgba(80, 197, 255, 0.18);
}

.create-btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--contrast-color);
    transform: translateY(-1px);
}

.create-btn-light {
    background: #ffffff;
    border-color: var(--border-color);
    color: var(--heading-color);
}

.create-btn-light:hover {
    background: var(--surface-muted);
    border-color: var(--border-strong);
    color: var(--heading-color);
    transform: translateY(-1px);
}

.create-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(80, 197, 255, 0.12);
}

.create-btn:disabled,
.create-btn.is-loading {
    opacity: 0.82;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

.create-btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    display: none;
    flex: 0 0 16px;
    animation: create-spin 0.7s linear infinite;
}

.create-btn.is-loading .create-btn-spinner {
    display: inline-block;
}

.create-btn.is-loading .create-btn-icon {
    display: none;
}

@keyframes create-spin {
    to {
        transform: rotate(360deg);
    }
}


/*--------------------------------------------------------------
# Bottom Cards
--------------------------------------------------------------*/

.create-mini-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.create-mini-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 16px;
    font-size: 1.08rem;
}

.create-mini-chip {
    min-height: 30px;
    padding: 6px 10px;
    background: rgba(80, 197, 255, 0.08);
    border: 1px solid rgba(80, 197, 255, 0.16);
    color: #1c5875;
    font-size: 0.72rem;
}

.create-mini-card h4 {
    margin: 0 0 10px;
    font-size: 1.03rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--heading-color);
}

.create-mini-card p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--default-color);
}


/*--------------------------------------------------------------
# Special Fields
--------------------------------------------------------------*/

.paid-box {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.paid-box .form-check {
    margin: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.paid-box .form-check-input {
    cursor: pointer;
    margin-top: 0;
    flex-shrink: 0;
}

.paid-box .form-check-label {
    cursor: pointer;
    font-size: 0.93rem;
    color: var(--heading-color);
    font-weight: 500;
}

.create-file-input {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

.banner-preview-card {
    padding: 12px;
    border-radius: 18px;
}

.banner-preview-card img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: 14px;
}


/*--------------------------------------------------------------
# Map Card
--------------------------------------------------------------*/

.create-map-card {
    margin-top: 18px;
    padding: 14px;
    border-radius: 18px;
}

.create-map-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.create-map-head i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(80, 197, 255, 0.12);
    color: var(--accent-color);
    font-size: 1rem;
}

.create-map-head h4 {
    margin: 0;
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--heading-color);
}

.create-map-frame {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: #f8fafc;
}

.create-map-frame iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}


/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

.create-form kbd {
    font-size: 0.78rem;
    padding: 2px 6px;
    border-radius: 6px;
    background: #111827;
    color: #ffffff;
    box-shadow: none;
}


/*--------------------------------------------------------------
# Large Desktop
--------------------------------------------------------------*/

@media (min-width: 1400px) {

    .create-side-card,
    .create-form-card {
        padding: 30px;
    }

    .create-mini-card {
        padding: 24px;
    }
}


/*--------------------------------------------------------------
# Laptop / Medium Desktop
--------------------------------------------------------------*/

@media (max-width: 1199.98px) {

    .create-side-card,
    .create-form-card {
        padding: 24px;
    }

    .create-mini-card {
        padding: 20px;
    }
}


/*--------------------------------------------------------------
# Tablet Landscape / Small Laptop
--------------------------------------------------------------*/

@media (max-width: 991.98px) {

    .create-side-card,
    .create-form-card,
    .create-mini-card {
        height: auto;
    }

    .create-side-card:hover,
    .create-form-card:hover,
    .create-mini-card:hover {
        transform: none;
    }

    .create-map-frame iframe {
        height: 360px;
    }
}


/*--------------------------------------------------------------
# Tablet Portrait / Large Mobile
--------------------------------------------------------------*/

@media (max-width: 767.98px) {

    .create-side-card,
    .create-form-card,
    .create-mini-card {
        padding: 18px;
        border-radius: 18px;
    }

    .create-form-head {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .create-form-head-main {
        gap: 14px;
    }

    .create-back-btn {
        align-self: flex-start;
    }

    .create-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .create-btn {
        width: 100%;
    }

    .create-side-card h3,
    .create-form-head h3 {
        font-size: 1.24rem;
    }

    .create-input-wrap,
    .create-input,
    .create-select,
    .create-password-toggle,
    .paid-box {
        min-height: 52px;
    }

    .create-textarea {
        min-height: 140px;
    }

    .create-map-frame iframe {
        height: 300px;
    }
}

/*--------------------------------------------------------------
# Mobile
--------------------------------------------------------------*/

@media (max-width: 575.98px) {

    .create-side-card,
    .create-form-card,
    .create-mini-card {
        padding: 16px;
        border-radius: 16px;
    }

    .create-badge,
    .create-mini-badge,
    .create-mini-chip {
        font-size: 0.69rem;
    }

    .create-form-icon,
    .create-mini-icon {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        border-radius: 14px;
    }

    .create-input-wrap i {
        width: 44px;
        flex: 0 0 44px;
        font-size: 0.92rem;
    }

    .create-input,
    .create-select {
        padding-right: 14px;
        font-size: 0.93rem;
    }

    .create-textarea {
        padding: 13px 14px;
        font-size: 0.93rem;
    }

    .create-note {
        padding: 13px 14px;
    }

    .create-map-card {
        padding: 12px;
        border-radius: 16px;
    }

    .create-map-frame iframe {
        height: 260px;
    }

    .banner-preview-card img {
        max-height: 720px;
    }
}

/*--------------------------------------------------------------
# Very Small Devices
--------------------------------------------------------------*/

@media (max-width: 399.98px) {
    .create-form-head-main {
        flex-direction: column;
    }

    .create-side-card h3,
    .create-form-head h3 {
        font-size: 1.14rem;
    }

    .create-mini-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .create-btn {
        min-height: 44px;
        font-size: 0.9rem;
    }
}

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
}

.status-chip-pending {
    background: rgba(255, 193, 7, 0.14);
    color: #8a6d00;
    border: 1px solid rgba(255, 193, 7, 0.22);
}

.status-chip-approved {
    background: rgba(25, 135, 84, 0.12);
    color: #146c43;
    border: 1px solid rgba(25, 135, 84, 0.18);
}

.status-chip-rejected {
    background: rgba(220, 53, 69, 0.12);
    color: #b02a37;
    border: 1px solid rgba(220, 53, 69, 0.18);
}

.banner-preview-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--surface-muted);
}

.banner-preview-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}