/* Collapses the persistent icon nav (Home/Hot/Search/Profile/Create) into a
   slide-out drawer opened via a single header button. The logo stays visible
   in the slim fixed rail; only the icon menu portion is hidden by default. */

.header-11-left .king-scroll.header-11-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 240px;
    max-width: 80vw;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(.77, 0, .175, 1);
    z-index: 14;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

/* The theme's own dark mode already recolors this menu's text/icons to
   white (.king-night .header-11-topmenu a etc.) — it just never accounted
   for a solid background living here, since this menu wasn't a fixed
   overlay before. Match that background so the drawer isn't stuck white
   while everything else goes dark. */
.king-night .header-11-left .king-scroll.header-11-menu {
    background: #000;
}

.header-11-left .king-scroll.header-11-menu.drawer-open {
    transform: translateX(0);
}

.sidebar-drawer-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 4px auto 12px;
    /* .header-11-left is a flex column with align-items:stretch, which
       stretches direct children to full width — margin:auto alone can't
       center something that's already been stretched to fill the row. */
    align-self: center;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 18px;
    color: #262626;
    flex-shrink: 0;
}

.sidebar-drawer-toggle:hover {
    background: #f7f7f7;
}

.king-night .sidebar-drawer-toggle {
    background: #0d0d0d;
    border-color: #333;
    color: #fff;
}

.king-night .sidebar-drawer-toggle:hover {
    background: #1a1a1a;
}

.sidebar-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    /* Must stay below .header-11-left's z-index (12) — that element creates
       its own stacking context, so anything inside it (the drawer menu) is
       capped at that context's level regardless of its own higher z-index.
       A backdrop at or above 12 would sit visually on top and swallow every
       click meant for the drawer underneath it. */
    z-index: 10;
}

.sidebar-drawer-backdrop.active {
    display: block;
}

/* The "More" button opens the theme's own News/Video/Image/Music off-canvas
   panel, which mostly links to dead demo pages now that this menu has its
   own drawer toggle above it. Hidden for regular site visitors. */
a[data-target=".king-leftmenu, .header-11-left"] {
    display: none !important;
}

/* Larger logo on desktop/web widths — the theme's own default caps it at
   max-height:66px inside the 80px-wide collapsed rail. */
@media (min-width: 601px) {
    .site-branding .king-logo img,
    .site-branding .mobile-king-logo img,
    .site-branding .king-logo-night img,
    .site-branding .mobile-king-logo-night img {
        max-height: 150px;
        max-width: 74px;
        width: auto;
        height: auto;
    }
}

/* Icon + label share one <a> with no separate span around the text, so we
   can't hide "just the text" directly. Shrinking the link's own font-size to
   0 hides the text (it takes no space) while resetting the icon's font-size
   keeps it visible at a fixed size. */
@media (max-width: 600px) {
    .header-11-menu .header-11-topmenu a,
    .header-11-menu .header-11-item {
        font-size: 0;
    }
    .header-11-menu .header-11-topmenu a i,
    .header-11-menu .header-11-item i {
        font-size: 20px;
    }
}

/* On mobile the persistent left rail becomes a slim top bar instead of a
   full-height column: just the logo and the drawer toggle, side by side.
   This replaces an earlier fix that kept the rail as a side column and
   forced its width to match the content's padding-left — that approach
   kept breaking because the theme's own JS occasionally desyncs the two
   (e.g. via the "open" state class the Search/Profile buttons also toggle
   on this element). Removing the side column entirely removes that failure
   mode altogether: there's no width to keep in sync with anything.
   .header-11-menu (the actual Home/Hot/Search/Profile/Create nav) is
   unaffected here — it's always position:fixed and off-canvas by default,
   regardless of the rail's layout, and only the toggle button opens it. */
@media (max-width: 769px) {
    .header-11-left {
        left: 0;
        right: 0;
        bottom: auto !important;
        width: 100% !important;
        height: 60px;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 14px;
        box-sizing: border-box;
    }
    .header-11-left .site-branding {
        padding: 0 !important;
        height: auto !important;
    }
    .sidebar-drawer-toggle {
        margin: 0 !important;
    }
    .site.header-template-11 {
        padding-left: 0 !important;
        padding-top: 60px;
    }

    /* The theme's own .header-slide.open rule anchors the search overlay
       at left:80px — a leftover from when the persistent rail really was a
       fixed 80px-wide column it needed to clear. That column doesn't exist
       any more on mobile (it's a slim top bar now), so left:80px floated
       the search box in the middle of the screen instead of the true edge. */
    .header-slide.open {
        left: 0 !important;
        top: 60px !important;
        bottom: 0 !important;
    }

    /* Everything below is mobile-only: the open drawer becomes a single row
       of small icons instead of the desktop's vertical list with visible
       text labels. Getting this un-scoped previously leaked the row layout
       and shrunk icons into the desktop view too. */
    .header-11-left .king-scroll.header-11-menu {
        width: calc(100% - 60px);
        max-width: none;
        overflow: hidden;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: flex-start;
        align-items: center;
    }

    /* Home/Hot live inside their own <ul>, everything else (Search/Profile/
       Create) as sibling <a> tags — both need the row treatment so the whole
       drawer reads as one flowing row instead of Home+Hot stacking as a
       column within their own list while only the rest goes row-wise. */
    .header-11-menu .header-11-topmenu {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
        flex-shrink: 0;
    }

    .header-11-menu .header-11-topmenu li {
        list-style: none;
    }

    .header-11-menu .header-11-topmenu a,
    .header-11-menu .header-11-item {
        margin: 8px 4px;
        flex-shrink: 0;
    }

    .header-11-menu .header-11-topmenu a i,
    .header-11-menu .header-11-item i {
        min-width: 33px !important;
        height: 33px !important;
        font-size: 17px !important;
        margin-right: 0 !important;
    }

    /* This ":after" is a hover-only right-edge indicator bar, meant to be
       invisible until hover (scaleY(0) by default). It was designed for a
       full-width vertical list item, sized to that item's own height. As a
       narrow flex item its height comes from stretching to match its
       tallest row sibling instead, so the (still-technically-scaled-to-0,
       but now much taller) bar became visible as a stray vertical line. It
       doesn't serve a purpose in an icon row, so drop it outright. */
    .header-11-menu .header-11-topmenu a:after {
        display: none;
    }

    /* The theme only reveals .king-postext (the Try it button's wrapper) on
       article:hover — touch devices have no reliable hover state, so on
       mobile it must stay visible at all times instead of hidden-until-tap. */
    .king-postext {
        opacity: 1 !important;
    }
}

/* "Try it" pill replaces the old icon-only Share button on post cards; the
   original .king-ft-link is a fixed 36x36 circle sized for an icon only, so
   this variant widens it to fit the label instead of overflowing. */
.king-try-link {
    width: auto;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* "Try it" result modal: self-contained overlay (not the theme's bootstrap
   .modal system) so it can't be picked up by unrelated data-toggle="modal"
   wiring elsewhere on the page. */
.try-it-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 20, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.try-it-modal.active {
    display: flex;
    animation: try-it-fade-in 0.25s ease;
}

@keyframes try-it-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.try-it-modal-box {
    position: relative;
    background: #fff;
    border-radius: 22px;
    padding: 32px 28px 28px;
    max-width: 460px;
    width: 100%;
    box-sizing: border-box;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 24px 60px -12px rgba(124, 58, 237, 0.35), 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.08);
    animation: try-it-pop-in 0.3s cubic-bezier(.2, 1, .3, 1);
}

.try-it-modal-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg, #7c3aed, #ec4899, #f59e0b);
}

@keyframes try-it-pop-in {
    from { opacity: 0; transform: translateY(10px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.king-night .try-it-modal-box {
    background: #15121f;
    color: #f3f0fa;
    border-color: rgba(124, 58, 237, 0.25);
}

.try-it-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.08);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.king-night .try-it-modal-close {
    background: rgba(255, 255, 255, 0.08);
}

.try-it-modal-close:hover {
    opacity: 1;
    background: rgba(124, 58, 237, 0.16);
    transform: rotate(90deg);
}

.try-it-loading,
.try-it-error {
    text-align: center;
    padding: 20px 10px;
}

.try-it-spinner {
    width: 36px;
    height: 36px;
    margin: 0 auto 16px;
    border: 3px solid #e0e0e0;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: try-it-spin 0.8s linear infinite;
}

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

.try-it-retry {
    margin-top: 10px;
    padding: 8px 20px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.try-it-result-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.try-it-ad-gate {
    margin-top: 14px;
}

.try-it-ad-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
}

.try-it-ad-status {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin: 0 0 10px;
}

.try-it-download-btn {
    display: block;
    text-align: center;
    margin-top: 14px;
    padding: 10px 24px;
    background: #2563eb;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.try-it-download-btn:hover {
    background: #1d4ed8;
}

.try-it-upload {
    text-align: center;
    padding: 4px;
}

.try-it-upload-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.try-it-upload p {
    margin: 0 0 18px;
    font-size: 13.5px;
    color: #6b7280;
}

.king-night .try-it-upload p {
    color: #b8b3c9;
}

/* Native file inputs can't be restyled directly, so it's visually hidden and
   a label (styled as the dropzone card) triggers it — clicking the label
   focuses/opens the same picker as clicking the input itself. */
.try-it-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.try-it-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 24px 16px;
    border: 2px dashed rgba(124, 58, 237, 0.35);
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(124, 58, 237, 0.06), rgba(236, 72, 153, 0.06));
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.try-it-dropzone:hover {
    border-color: #ec4899;
    transform: translateY(-1px);
}

.king-night .try-it-dropzone {
    background: linear-gradient(160deg, rgba(124, 58, 237, 0.14), rgba(236, 72, 153, 0.1));
}

.try-it-dropzone-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: #fff;
    font-size: 20px;
}

.try-it-dropzone-text {
    font-size: 13.5px;
    font-weight: 600;
    color: #4b3d78;
}

.king-night .try-it-dropzone-text {
    color: #d9d2f0;
}

.try-it-preview-thumb {
    display: block;
    max-width: 100%;
    max-height: 140px;
    border-radius: 12px;
    margin: 0 0 6px;
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.25);
}

.try-it-upload-btn {
    display: block;
    width: 100%;
    padding: 13px 24px;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    color: #fff;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 24px -6px rgba(124, 58, 237, 0.55);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.try-it-upload-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -6px rgba(236, 72, 153, 0.55);
}

.try-it-upload-btn:disabled {
    background: #d8d5e0;
    color: #9691a6;
    box-shadow: none;
    cursor: not-allowed;
}

.king-night .try-it-upload-btn:disabled {
    background: #35304a;
    color: #6f6884;
}

.try-it-duration {
    position: relative;
    margin: 0 0 6px;
    text-align: left;
}

.try-it-duration-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    font-family: inherit;
    font-weight: 600;
    color: #4b3d78;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.try-it-duration.open .try-it-duration-trigger,
.try-it-duration-trigger:hover {
    border-color: #ec4899;
}

.try-it-duration-trigger-arrow {
    color: #7c3aed;
    font-size: 12px;
    transition: transform 0.15s ease;
}

.try-it-duration.open .try-it-duration-trigger-arrow {
    transform: rotate(180deg);
}

.king-night .try-it-duration-trigger {
    background: #1f1a30;
    color: #f3f0fa;
    border-color: rgba(124, 58, 237, 0.4);
}

.try-it-duration-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 5;
    background: #fff;
    border: 1px solid rgba(124, 58, 237, 0.18);
    border-radius: 14px;
    box-shadow: 0 16px 32px -8px rgba(124, 58, 237, 0.3);
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 2px;
}

.try-it-duration.open .try-it-duration-list {
    display: flex;
}

.king-night .try-it-duration-list {
    background: #1f1a30;
    border-color: rgba(124, 58, 237, 0.35);
}

.try-it-duration-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 9px 10px;
    border: none;
    border-radius: 9px;
    background: none;
    font-size: 14px;
    font-family: inherit;
    font-weight: 600;
    color: #3a3050;
    text-align: left;
    cursor: pointer;
    transition: background 0.12s ease;
}

.king-night .try-it-duration-option {
    color: #f3f0fa;
}

.try-it-duration-option:hover:not(.locked) {
    background: rgba(124, 58, 237, 0.1);
}

.try-it-duration-option.selected {
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.12), rgba(236, 72, 153, 0.12));
}

.try-it-duration-check {
    width: 14px;
    font-size: 12px;
    color: #ec4899;
    opacity: 0;
}

.try-it-duration-option.selected .try-it-duration-check {
    opacity: 1;
}

.try-it-duration-option.locked {
    color: #b3aec2;
    cursor: not-allowed;
}

.try-it-duration-badge {
    margin-left: auto;
    font-size: 10.5px;
    font-weight: 700;
    color: #d97706;
    background: rgba(245, 158, 11, 0.14);
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.try-it-duration-hint {
    font-size: 12px;
    color: #9691a6;
    margin: 8px 0 18px;
}

.try-it-premium {
    text-align: center;
    padding: 20px 10px;
}

.try-it-premium p {
    margin: 0 0 18px;
    font-size: 16px;
}

.try-it-plans-btn {
    display: inline-block;
    padding: 10px 26px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.try-it-plans-btn:hover {
    opacity: 0.9;
}

/* Recommended search terms shown in the search dropdown before the visitor
   types anything — quick shortcuts into common content instead of a blank
   box. Hidden once real results are showing (see try-it.js's sibling
   sidebar-drawer.js, which toggles this alongside the input's own value). */
.king-search-recommended {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 2px 2px;
}

.king-search-recommended-label {
    font-size: 13px;
    color: #999;
    margin-right: 2px;
}

.king-search-chip {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: #f0f0f0;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}

.king-search-chip:hover {
    background: #e60023;
    color: #fff;
}

.king-night .king-search-recommended-label {
    color: #888;
}

.king-night .king-search-chip {
    background: #1a1a1a;
    color: #eee;
}

.king-night .king-search-chip:hover {
    background: #e60023;
    color: #fff;
}

/* Inline error message injected by assets/auth-modals.js when the login/
   register popup form fails server-side (wrong password, duplicate
   username, etc.) — shown inside the modal instead of navigating to a bare
   full-page error, which is the whole point of submitting via fetch. */
.king-modal-auth-error {
    background: #fdecea;
    color: #b3261e;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 13.5px;
}

.king-night .king-modal-auth-error {
    background: rgba(179, 38, 30, 0.15);
    border-color: rgba(179, 38, 30, 0.4);
    color: #ff8a80;
}

/* Shared design for the submit-{video,image,audio,voice}/index.php upload
   forms — same dark, gradient-accented look as the "Try it" modal, so
   uploading a post doesn't feel like a completely different, dated product. */
.submit-page-wrap {
    max-width: 640px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Nunito', sans-serif;
}

.submit-page-wrap h1 {
    font-size: 28px;
    margin: 0 0 24px;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.submit-page-form {
    position: relative;
    background: #15121f;
    color: #f3f0fa;
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 20px 50px -12px rgba(124, 58, 237, 0.3);
    /* No overflow:hidden here — the gradient top bar (::before) already has
       its own matching border-radius, and clipping the form would also cut
       off the duration dropdown's list, which is absolutely positioned and
       extends below the form's own bounds. */
}

.submit-page-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #7c3aed, #ec4899, #f59e0b);
}

.submit-page-field {
    margin-bottom: 20px;
}

.submit-page-field label {
    display: block;
    font-weight: 700;
    font-size: 13.5px;
    color: #d9d2f0;
    margin-bottom: 8px;
}

.submit-page-field input[type="text"],
.submit-page-field select,
.submit-page-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    background: #1f1a30;
    color: #f3f0fa;
    transition: border-color 0.15s ease;
}

.submit-page-field textarea {
    min-height: 90px;
    resize: vertical;
}

.submit-page-field input:focus,
.submit-page-field select:focus,
.submit-page-field textarea:focus {
    outline: none;
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
}

.submit-page-field input::placeholder,
.submit-page-field textarea::placeholder {
    color: #766f8a;
}

.submit-page-field .hint {
    font-size: 12px;
    color: #9691a6;
    margin: 6px 0 0;
}

/* Native file inputs can't be restyled directly, so it's visually hidden and
   a label (styled as a dropzone card) triggers it — same pattern as the
   "Try it" photo upload. */
.submit-page-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.submit-page-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    border: 2px dashed rgba(124, 58, 237, 0.35);
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(124, 58, 237, 0.12), rgba(236, 72, 153, 0.08));
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.submit-page-dropzone:hover {
    border-color: #ec4899;
    transform: translateY(-1px);
}

.submit-page-dropzone-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: #fff;
    font-size: 18px;
    flex: none;
}

.submit-page-dropzone-text {
    font-size: 13.5px;
    font-weight: 600;
    color: #d9d2f0;
    text-align: center;
    word-break: break-all;
}

.submit-page-preview-thumb {
    display: block;
    max-width: 100%;
    max-height: 140px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
}

.submit-page-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    color: #fff;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14.5px;
    font-weight: 700;
    box-shadow: 0 10px 24px -6px rgba(124, 58, 237, 0.55);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.submit-page-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -6px rgba(236, 72, 153, 0.55);
}

.submit-page-message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 14px;
}

.submit-page-message.success {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.submit-page-message.error {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.submit-page-back {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: #ec4899;
    font-weight: 600;
}

.submit-page-alert {
    background: #1f1a30;
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 14px;
    padding: 20px;
    color: #f3f0fa;
}

.submit-page-alert a {
    color: #ec4899;
    font-weight: 700;
    margin-left: 6px;
}
