/* Oftnly Auth UI - Bootstrap 5 Custom Theme
   Import this after Bootstrap 5 CSS.
*/

:root {
    --oftnly-bg: #f7f4ec;
    --oftnly-card: rgba(255, 255, 255, 0.82);
    --oftnly-text: #2e2a24;
    --oftnly-muted: #8a8174;
    --oftnly-border: #ddd4c8;
    --oftnly-accent: #b88b5a;
    --oftnly-accent-dark: #735941;
    --oftnly-soft: #eadbc8;
    --oftnly-danger: #c76d5a;
    --oftnly-shadow: 0 28px 80px rgba(46, 42, 36, 0.14);
}

body.oftnly-dashboard-body .diary-create-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

body.oftnly-dashboard-body .diary-create-header .page-subtitle {
    margin-bottom: 0;
}

body.oftnly-dashboard-body .diary-back-action {
    flex: 0 0 auto;
}

body.oftnly-dashboard-body .diary-create-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(63, 131, 103, 0.24);
    border-radius: 18px;
    background: rgba(63, 131, 103, 0.1);
    color: #3f8367;
    font-weight: 800;
}

body.oftnly-dashboard-body .diary-editor-card,
body.oftnly-dashboard-body .diary-bottom-card {
    overflow: hidden;
}

body.oftnly-dashboard-body .diary-editor-card-wide {
    width: 100%;
}

body.oftnly-dashboard-body .diary-bottom-card {
    margin-top: 18px;
}

body.oftnly-dashboard-body .diary-bottom-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 20px;
}

body.oftnly-dashboard-body .diary-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

body.oftnly-dashboard-body .diary-create-note {
    margin: 0;
    color: var(--oftnly-muted);
    font-size: 14px;
}

body.oftnly-dashboard-body .diary-editor-badge {
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(184, 139, 90, 0.22);
    border-radius: 999px;
    background: rgba(184, 139, 90, 0.12);
    color: var(--oftnly-accent-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

body.oftnly-dashboard-body .diary-form-field {
    margin-bottom: 22px;
}

body.oftnly-dashboard-body .diary-form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--oftnly-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

body.oftnly-dashboard-body .diary-form-control {
    min-height: 50px;
    border: 1px solid rgba(221, 212, 200, 0.92);
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.78);
    color: var(--oftnly-text);
    font-weight: 750;
    padding: 12px 15px;
}

body.oftnly-dashboard-body .diary-form-control::placeholder,
body.oftnly-dashboard-body .diary-tag-input::placeholder {
    color: rgba(138, 129, 116, 0.72);
}

body.oftnly-dashboard-body .diary-form-control:focus,
body.oftnly-dashboard-body .diary-tag-editor:focus-within {
    border-color: var(--oftnly-accent);
    box-shadow: 0 0 0 0.25rem rgba(184, 139, 90, 0.14);
}

body.oftnly-dashboard-body .diary-banner-uploader {
    display: block;
    cursor: pointer;
}

body.oftnly-dashboard-body .diary-banner-preview {
    min-height: 260px;
    border: 1px dashed rgba(184, 139, 90, 0.48);
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            rgba(234, 219, 200, 0.36),
            rgba(255, 255, 255, 0.7)
        ),
        rgba(247, 244, 236, 0.72);
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    transition: 0.2s ease;
}

body.oftnly-dashboard-body .diary-banner-preview:hover {
    border-color: var(--oftnly-accent);
    background-color: rgba(247, 244, 236, 0.88);
}

body.oftnly-dashboard-body .diary-banner-preview.has-preview {
    border-style: solid;
    min-height: 320px;
    position: relative;
}

body.oftnly-dashboard-body .diary-banner-preview.has-preview::after {
    content: "Change banner";
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(46, 42, 36, 0.78);
    color: #fffaf2;
    font-size: 12px;
    font-weight: 900;
}

body.oftnly-dashboard-body .diary-upload-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(184, 139, 90, 0.14);
    color: var(--oftnly-accent-dark);
    display: inline-grid;
    place-items: center;
    flex: 0 0 48px;
    font-size: 20px;
}

body.oftnly-dashboard-body .diary-banner-copy {
    display: grid;
    gap: 4px;
    color: var(--oftnly-text);
}

body.oftnly-dashboard-body .diary-banner-copy strong {
    font-weight: 900;
}

body.oftnly-dashboard-body .diary-banner-copy small,
body.oftnly-dashboard-body .diary-file-name {
    color: var(--oftnly-muted);
    font-size: 13px;
    font-weight: 700;
}

body.oftnly-dashboard-body .diary-banner-preview.has-preview .diary-upload-icon,
body.oftnly-dashboard-body
    .diary-banner-preview.has-preview
    .diary-banner-copy {
    opacity: 0;
}

body.oftnly-dashboard-body .diary-file-name {
    margin: 0;
    overflow-wrap: anywhere;
}

body.oftnly-dashboard-body .diary-banner-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

body.oftnly-dashboard-body .diary-banner-preview-btn {
    min-height: 38px;
    border: 1px solid rgba(221, 212, 200, 0.9);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--oftnly-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 900;
    transition: 0.2s ease;
}

body.oftnly-dashboard-body .diary-banner-preview-btn:hover {
    background: var(--oftnly-text);
    border-color: var(--oftnly-text);
    color: #fffaf2;
    transform: translateY(-1px);
}

body.oftnly-dashboard-body .diary-story-editor {
    min-height: 560px;
}

body.oftnly-dashboard-body .note-editor.note-frame {
    border: 1px solid rgba(221, 212, 200, 0.92);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.78);
    color: var(--oftnly-text);
}

body.oftnly-dashboard-body .note-editor.note-frame .note-toolbar {
    border-bottom: 1px solid rgba(221, 212, 200, 0.72);
    background: rgba(247, 244, 236, 0.82);
    padding: 10px 12px;
}

body.oftnly-dashboard-body
    .note-editor.note-frame
    .note-editing-area
    .note-editable {
    min-height: 560px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--oftnly-text);
    font-family: "Inter", Arial, sans-serif;
}

body.oftnly-dashboard-body
    .note-editor.note-frame
    .note-editing-area
    .note-editable
    img,
body.oftnly-dashboard-body
    .note-editor.note-frame
    .note-editing-area
    .note-editable
    video {
    max-width: 100%;
    border-radius: 18px;
    margin: 12px 0;
}

body.oftnly-dashboard-body .note-editor .btn {
    border-color: rgba(221, 212, 200, 0.78);
    color: var(--oftnly-text);
    font-weight: 800;
}

body.oftnly-dashboard-body .note-editor .note-btn i {
    pointer-events: none;
}

body.oftnly-dashboard-body .diary-editor-file-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 10px 13px;
    border-radius: 14px;
    background: rgba(184, 139, 90, 0.14);
    color: var(--oftnly-accent-dark);
    font-weight: 900;
    text-decoration: none;
    overflow-wrap: anywhere;
}

body.oftnly-dashboard-body .diary-editor-file-link::before {
    content: "\F3C2";
    font-family: "bootstrap-icons";
    font-weight: 400;
}

body.oftnly-dashboard-body .diary-tag-editor {
    min-height: 50px;
    border: 1px solid rgba(221, 212, 200, 0.92);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 9px 11px;
    cursor: text;
}

body.oftnly-dashboard-body .diary-category-picker {
    display: grid;
    gap: 10px;
}

body.oftnly-dashboard-body .diary-category-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 0;
}

body.oftnly-dashboard-body .diary-tag-list {
    display: contents;
}

body.oftnly-dashboard-body .diary-category-chip,
body.oftnly-dashboard-body .diary-tag-chip {
    min-height: 32px;
    border-radius: 999px;
    background: rgba(184, 139, 90, 0.14);
    color: var(--oftnly-accent-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px 6px 11px;
    font-size: 12px;
    font-weight: 900;
}

body.oftnly-dashboard-body .diary-category-chip button,
body.oftnly-dashboard-body .diary-tag-chip button {
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 999px;
    background: rgba(184, 139, 90, 0.18);
    color: var(--oftnly-accent-dark);
    display: inline-grid;
    place-items: center;
    padding: 0;
}

body.oftnly-dashboard-body .diary-tag-input {
    min-width: 160px;
    flex: 1 1 160px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--oftnly-text);
    font-weight: 750;
}

body.oftnly-dashboard-body .diary-create-actions {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

body.oftnly-dashboard-body .diary-action-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(221, 212, 200, 0.7);
}

body.oftnly-dashboard-body .diary-primary-btn,
body.oftnly-dashboard-body .diary-secondary-btn,
body.oftnly-dashboard-body .diary-cancel-btn {
    min-height: 50px;
    min-width: 142px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 900;
    text-decoration: none;
    transition: 0.2s ease;
}

body.oftnly-dashboard-body .diary-primary-btn {
    border: 1px solid var(--oftnly-text);
    background: var(--oftnly-text);
    color: #fffaf2;
}

body.oftnly-dashboard-body .diary-secondary-btn {
    border: 1px solid rgba(184, 139, 90, 0.36);
    background: rgba(184, 139, 90, 0.14);
    color: var(--oftnly-accent-dark);
}

body.oftnly-dashboard-body .diary-cancel-btn {
    border: 1px solid rgba(221, 212, 200, 0.9);
    background: rgba(255, 255, 255, 0.72);
    color: var(--oftnly-muted);
}

body.oftnly-dashboard-body .diary-primary-btn:hover,
body.oftnly-dashboard-body .diary-secondary-btn:hover,
body.oftnly-dashboard-body .diary-cancel-btn:hover {
    transform: translateY(-1px);
}

body.oftnly-dashboard-body .diary-secondary-btn:hover,
body.oftnly-dashboard-body .diary-cancel-btn:hover {
    background: var(--oftnly-text);
    border-color: var(--oftnly-text);
    color: #fffaf2;
}

body.oftnly-dashboard-body .oftnly-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(46, 42, 36, 0.38);
    backdrop-filter: blur(7px);
}

body.oftnly-dashboard-body .oftnly-confirm-card {
    position: relative;
    width: min(100%, 460px);
    border: 1px solid rgba(221, 212, 200, 0.82);
    border-radius: 24px;
    background: rgba(255, 250, 242, 0.96);
    box-shadow: 0 32px 90px rgba(46, 42, 36, 0.24);
    color: var(--oftnly-text);
    padding: 28px;
    text-align: center;
}

body.oftnly-dashboard-body .oftnly-confirm-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(221, 212, 200, 0.82);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--oftnly-muted);
    display: inline-grid;
    place-items: center;
}

body.oftnly-dashboard-body .oftnly-confirm-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(184, 139, 90, 0.14);
    color: var(--oftnly-accent-dark);
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    font-size: 24px;
}

body.oftnly-dashboard-body .oftnly-confirm-card h3 {
    margin: 0 0 10px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

body.oftnly-dashboard-body .oftnly-confirm-card p {
    margin: 0;
    color: var(--oftnly-muted);
    line-height: 1.6;
    font-weight: 600;
}

body.oftnly-dashboard-body .oftnly-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

body.oftnly-dashboard-body .oftnly-confirm-actions .btn {
    min-height: 46px;
    min-width: 132px;
    border-radius: 15px;
    font-weight: 900;
}

body.oftnly-dashboard-body .oftnly-confirm-actions .btn-back {
    border-color: rgba(221, 212, 200, 0.9);
    background: rgba(255, 255, 255, 0.72);
    color: var(--oftnly-muted);
}

body.oftnly-dashboard-body .oftnly-confirm-actions .btn-submit {
    border-color: var(--oftnly-text);
    background: var(--oftnly-text);
    color: #fffaf2;
}

body.oftnly-dashboard-body .diary-banner-modal .modal-content {
    background: #1d1a17;
    color: #fffaf2;
}

body.oftnly-dashboard-body .diary-banner-modal .modal-header {
    min-height: 72px;
    border-bottom: 1px solid rgba(255, 250, 242, 0.12);
    background: rgba(29, 26, 23, 0.96);
    padding-inline: 24px;
}

body.oftnly-dashboard-body .diary-banner-modal .modal-title {
    color: #fffaf2;
    font-weight: 900;
}

body.oftnly-dashboard-body .diary-banner-modal .btn-close {
    filter: invert(1) grayscale(1);
    opacity: 0.9;
}

body.oftnly-dashboard-body .diary-banner-modal .modal-body {
    min-height: calc(100svh - 72px);
    padding: 24px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(184, 139, 90, 0.16), transparent 42%),
        #1d1a17;
}

body.oftnly-dashboard-body .diary-banner-modal-image {
    max-width: 100%;
    max-height: calc(100svh - 120px);
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

@media (max-width: 991.98px) {
    body.oftnly-dashboard-body .diary-create-header {
        align-items: stretch;
        flex-direction: column;
    }

    body.oftnly-dashboard-body .diary-back-action {
        width: fit-content;
    }

    body.oftnly-dashboard-body .diary-create-actions {
        justify-content: flex-start;
    }

    body.oftnly-dashboard-body .diary-action-row {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    body.oftnly-dashboard-body .diary-editor-card,
    body.oftnly-dashboard-body .diary-bottom-card {
        padding: 18px;
    }

    body.oftnly-dashboard-body .diary-card-heading {
        flex-direction: column;
    }

    body.oftnly-dashboard-body .diary-banner-preview {
        min-height: 210px;
        align-items: flex-start;
        justify-content: flex-end;
        flex-direction: column;
    }

    body.oftnly-dashboard-body .diary-banner-preview.has-preview {
        min-height: 240px;
    }

    body.oftnly-dashboard-body .diary-create-actions {
        gap: 9px;
        width: 100%;
    }

    body.oftnly-dashboard-body .diary-action-row {
        align-items: stretch;
    }

    body.oftnly-dashboard-body .diary-primary-btn,
    body.oftnly-dashboard-body .diary-secondary-btn,
    body.oftnly-dashboard-body .diary-cancel-btn {
        width: 100%;
    }

    body.oftnly-dashboard-body .oftnly-confirm-card {
        padding: 24px 18px;
    }

    body.oftnly-dashboard-body .oftnly-confirm-actions .btn {
        width: 100%;
    }
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body.oftnly-auth-body {
    min-height: 100vh;
    font-family: "Inter", Arial, sans-serif;
    color: var(--oftnly-text);
    background:
        radial-gradient(
            circle at top left,
            rgba(184, 139, 90, 0.18),
            transparent 34%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(234, 219, 200, 0.56),
            transparent 28%
        ),
        linear-gradient(135deg, #fbf8f0 0%, #f0e9dd 100%);
}

.oftnly-auth-wrapper {
    min-height: 100vh;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oftnly-auth-shell {
    width: min(1180px, 100%);
    min-height: 720px;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(221, 212, 200, 0.95);
    background: rgba(255, 255, 255, 0.55);
    box-shadow: var(--oftnly-shadow);
    backdrop-filter: blur(14px);
}

.oftnly-auth-body--fullscreen {
    overflow-x: hidden;
}

.oftnly-auth-body--fullscreen .oftnly-auth-wrapper {
    min-height: 100svh;
    padding: 0;
    align-items: stretch;
}

.oftnly-auth-body--fullscreen .oftnly-auth-shell {
    width: 100%;
    min-height: 100svh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.oftnly-auth-body--fullscreen .oftnly-auth-shell > .row {
    min-height: 100svh;
}

.oftnly-auth-body--fullscreen .oftnly-hero-panel,
.oftnly-auth-body--fullscreen .oftnly-form-panel {
    min-height: 100svh;
}

.oftnly-auth-body--fullscreen .oftnly-form-panel {
    padding: 48px 0 0;
    justify-content: space-between;
    gap: 32px;
}

.oftnly-auth-body--fullscreen .oftnly-form-card {
    width: calc(100% - 96px);
    margin: auto 48px;
}

.oftnly-hero-panel {
    position: relative;
    min-height: 720px;
    padding: 48px;
    color: #fffaf2;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.oftnly-hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(46, 42, 36, 0.48), rgba(46, 42, 36, 0.22)),
        linear-gradient(180deg, rgba(46, 42, 36, 0.12), rgba(46, 42, 36, 0.54));
    z-index: 1;
}

.oftnly-hero-panel::after {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(255, 250, 242, 0.28);
    border-radius: 26px;
    pointer-events: none;
    z-index: 2;
}

/* Different soothing aesthetic images per page */
.oftnly-hero--signin {
    background-image: url("https://images.unsplash.com/photo-1499750310107-5fef28a66643?auto=format&fit=crop&w=1500&q=85");
}

.oftnly-hero--signup {
    background-image: url("https://images.unsplash.com/photo-1517842645767-c639042777db?auto=format&fit=crop&w=1500&q=85");
}

.oftnly-hero--verify {
    background-image: url("https://images.unsplash.com/photo-1455390582262-044cdead277a?auto=format&fit=crop&w=1500&q=85");
}

.oftnly-hero--forgot {
    background-image: url("https://images.unsplash.com/photo-1471107340929-a87cd0f5b5f3?auto=format&fit=crop&w=1500&q=85");
}

.oftnly-brand-logo {
    position: relative;
    z-index: 3;
    font-family: "Great Vibes", cursive;
    font-size: 46px;
    line-height: 1;
    color: #fffaf2;
    text-decoration: none;
}

.oftnly-brand-logo:hover {
    color: #fffaf2;
}

.oftnly-hero-copy {
    position: relative;
    z-index: 3;
    max-width: 500px;
    margin-top: 170px;
}

.oftnly-hero-kicker {
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 250, 242, 0.76);
}

.oftnly-hero-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(44px, 5vw, 74px);
    line-height: 0.98;
    letter-spacing: 0;
    margin-bottom: 22px;
}

.oftnly-typing-text {
    display: inline;
    padding-right: 0.08em;
    border-right: 0.06em solid rgba(255, 250, 242, 0.86);
    animation: oftnly-caret 0.82s steps(1) infinite;
}

@keyframes oftnly-caret {
    50% {
        border-color: transparent;
    }
}

.oftnly-hero-subtitle {
    max-width: 430px;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255, 250, 242, 0.9);
}

.oftnly-hero-squiggle {
    width: 98px;
    height: 18px;
    margin-top: 26px;
    border-bottom: 3px solid rgba(255, 250, 242, 0.72);
    border-radius: 50%;
    transform: rotate(-4deg);
}

.oftnly-form-panel {
    position: relative;
    min-height: 720px;
    padding: 48px;
    background:
        radial-gradient(
            circle at top right,
            rgba(234, 219, 200, 0.54),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.88),
            rgba(247, 244, 236, 0.97)
        );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    overflow: hidden;
}

.oftnly-form-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(
            120deg,
            rgba(255, 250, 242, 0.62),
            rgba(255, 250, 242, 0.18) 46%,
            rgba(234, 219, 200, 0.44)
        ),
        radial-gradient(
            circle at 18% 76%,
            rgba(184, 139, 90, 0.1),
            transparent 32%
        );
}

.oftnly-form-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.84;
}

.oftnly-form-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    padding: 38px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(221, 212, 200, 0.78);
    box-shadow: 0 18px 54px rgba(46, 42, 36, 0.08);
}

.oftnly-form-card--wide {
    max-width: 640px;
}

.oftnly-form-card--compact {
    max-width: 520px;
}

.oftnly-small-logo {
    display: none;
    margin-bottom: 24px;
    font-family: "Great Vibes", cursive;
    font-size: 42px;
    line-height: 1;
    color: var(--oftnly-text);
    text-decoration: none;
}

.oftnly-auth-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(38px, 4vw, 54px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin-bottom: 12px;
}

.oftnly-auth-subtitle {
    color: var(--oftnly-muted);
    line-height: 1.65;
    margin-bottom: 28px;
}

.oftnly-form-card .form-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--oftnly-text);
    margin-bottom: 8px;
}

.oftnly-form-card .form-control,
.oftnly-form-card .form-check-input {
    border-color: var(--oftnly-border);
}

.oftnly-form-card .form-control {
    min-height: 52px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.88);
    color: var(--oftnly-text);
}

.oftnly-form-card .form-control::placeholder {
    color: #aaa093;
}

.oftnly-form-card .form-control:focus,
.oftnly-form-card .form-check-input:focus {
    border-color: var(--oftnly-accent);
    box-shadow: 0 0 0 0.25rem rgba(184, 139, 90, 0.14);
}

.oftnly-form-card .form-check-input:checked {
    background-color: var(--oftnly-accent-dark);
    border-color: var(--oftnly-accent-dark);
}

.oftnly-auth-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.oftnly-auth-check .form-check-input {
    margin-left: 0;
    margin-top: 0.2rem;
    flex: 0 0 auto;
}

.oftnly-form-card .input-group .form-control {
    border-right: 0;
}

.oftnly-form-card .input-group-text {
    border-color: var(--oftnly-border);
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.88);
    color: var(--oftnly-muted);
}

.oftnly-form-card .input-group > .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.oftnly-form-card .input-group > .input-group-text:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.btn-oftnly {
    min-height: 56px;
    border: 0;
    border-radius: 17px;
    background: var(--oftnly-text);
    color: #fffaf2;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 14px 30px rgba(46, 42, 36, 0.19);
    transition: 0.2s ease;
}

.btn-oftnly:hover,
.btn-oftnly:focus {
    background: #1f1b17;
    color: #fffaf2;
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(46, 42, 36, 0.25);
}

.btn-oftnly-light {
    min-height: 50px;
    border: 1px solid var(--oftnly-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.66);
    color: var(--oftnly-text);
    font-weight: 700;
    transition: 0.2s ease;
}

.btn-oftnly-light:hover {
    background: #fff;
    border-color: var(--oftnly-soft);
    transform: translateY(-1px);
}

.link-oftnly {
    color: var(--oftnly-accent-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.link-oftnly:hover {
    color: var(--oftnly-text);
}

.oftnly-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0;
    color: var(--oftnly-muted);
    font-size: 13px;
}

.oftnly-divider::before,
.oftnly-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--oftnly-border);
}

.oftnly-auth-card-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 20px;
    background: rgba(184, 139, 90, 0.14);
    color: var(--oftnly-accent-dark);
    font-size: 26px;
}

.oftnly-otp-wrapper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin: 28px 0;
}

.oftnly-otp-input {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 58px;
    padding: 0;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border-radius: 15px !important;
}

.oftnly-soft-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    color: var(--oftnly-muted);
    background: rgba(234, 219, 200, 0.32);
    font-size: 14px;
    line-height: 1.5;
}

.form-main {
    position: relative;
}

.text-err {
    position: absolute;
    bottom: -20px;
    left: 0;
    color: red !important;
    font-size: 12px !important;
    font-style: italic !important;
}

.oftnly-soft-note i {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(184, 139, 90, 0.16);
    color: var(--oftnly-accent-dark);
}

.oftnly-auth-footer {
    position: relative;
    z-index: 1;
    display: grid;
    width: 100%;
    max-width: none;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding: 12px 22px;
    border-top: 1px solid rgba(221, 212, 200, 0.72);
    background: rgba(46, 42, 36, 0.92);
    color: rgba(255, 250, 242, 0.82);
}

.oftnly-footer-social,
.oftnly-footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.oftnly-footer-social {
    gap: 10px;
}

.oftnly-footer-social a {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: rgba(255, 250, 242, 0.7);
    text-decoration: none;
    transition: 0.2s ease;
}

.oftnly-footer-social a:hover,
.oftnly-footer-social a:focus {
    color: #fffaf2;
    background: rgba(255, 250, 242, 0.1);
}

.oftnly-footer-copy {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.oftnly-footer-links {
    justify-content: flex-end;
    gap: 12px;
}

.oftnly-footer-links a {
    color: rgba(255, 250, 242, 0.78);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.oftnly-footer-links a:hover,
.oftnly-footer-links a:focus {
    color: #fffaf2;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.oftnly-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(
            circle at 42% 34%,
            rgba(184, 139, 90, 0.2),
            transparent 30%
        ),
        rgba(46, 42, 36, 0.34);
    backdrop-filter: blur(7px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.22s ease,
        visibility 0.22s ease;
}

.oftnly-loader-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#toast-container {
    z-index: 2147483647 !important;
}

.oftnly-loader-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: min(100%, 310px);
    padding: 18px 20px;
    border: 1px solid rgba(221, 212, 200, 0.78);
    border-radius: 22px;
    background: rgba(255, 250, 242, 0.9);
    box-shadow: 0 26px 80px rgba(46, 42, 36, 0.2);
    color: var(--oftnly-text);
}

.oftnly-loader-mark {
    position: relative;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(255, 250, 242, 0.92) 0 42%,
            transparent 44%
        ),
        conic-gradient(
            from 0deg,
            rgba(184, 139, 90, 0.12),
            rgba(184, 139, 90, 0.86),
            rgba(115, 89, 65, 0.3),
            rgba(184, 139, 90, 0.12)
        );
    animation: oftnly-loader-spin 1s linear infinite;
}

.oftnly-loader-mark span {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--oftnly-accent-dark);
    opacity: 0.78;
}

.oftnly-loader-mark span:nth-child(1) {
    transform: translate(-12px, 0);
}

.oftnly-loader-mark span:nth-child(2) {
    transform: translate(0, -12px);
    opacity: 0.52;
}

.oftnly-loader-mark span:nth-child(3) {
    transform: translate(12px, 0);
    opacity: 0.34;
}

.oftnly-loader-title,
.oftnly-loader-text {
    margin: 0;
}

.oftnly-loader-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    line-height: 1.1;
}

.oftnly-loader-text {
    margin-top: 3px;
    color: var(--oftnly-muted);
    font-size: 13px;
}

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

/* Oftnly Public Homepage */
body.oftnly-home-body {
    min-height: 100vh;
    font-family: "Inter", Arial, sans-serif;
    color: var(--oftnly-text);
    background:
        radial-gradient(
            circle at 8% 8%,
            rgba(184, 139, 90, 0.14),
            transparent 28%
        ),
        radial-gradient(
            circle at 88% 18%,
            rgba(79, 123, 112, 0.12),
            transparent 28%
        ),
        linear-gradient(180deg, #fbf8f0 0%, #f2eee5 48%, #f7f4ec 100%);
}

.home-navbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    padding: 16px clamp(18px, 4vw, 54px);
    background: rgba(255, 250, 242, 0.82);
    border-bottom: 1px solid rgba(221, 212, 200, 0.68);
    backdrop-filter: blur(16px);
}

.home-nav-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.home-brand {
    font-family: "Great Vibes", cursive;
    font-size: 42px;
    line-height: 1;
    color: var(--oftnly-text);
    text-decoration: none;
    white-space: nowrap;
}

.home-brand:hover {
    color: var(--oftnly-text);
}

.home-nav-links,
.home-nav-actions,
.home-hero-actions,
.home-footer-social {
    display: flex;
    align-items: center;
}

.home-nav-links {
    gap: clamp(12px, 2vw, 28px);
}

.home-nav-links a,
.home-nav-link {
    color: var(--oftnly-muted);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s ease;
}

.home-nav-links a:hover,
.home-nav-link:hover {
    color: var(--oftnly-text);
}

.home-nav-actions {
    gap: 10px;
}

.home-nav-button,
.home-nav-link-icon,
.home-primary-btn,
.home-secondary-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: 0.2s ease;
}

.home-nav-button,
.home-primary-btn {
    padding: 0 18px;
    background: var(--oftnly-text);
    color: #fffaf2;
    border: 1px solid var(--oftnly-text);
    box-shadow: 0 16px 36px rgba(46, 42, 36, 0.16);
}

.home-nav-button:hover,
.home-primary-btn:hover {
    background: #1f1b17;
    color: #fffaf2;
    transform: translateY(-1px);
}

.home-secondary-btn,
.home-nav-link-icon {
    padding: 0 16px;
    border: 1px solid rgba(221, 212, 200, 0.92);
    background: rgba(255, 255, 255, 0.68);
    color: var(--oftnly-text);
}

.home-secondary-btn:hover,
.home-nav-link-icon:hover {
    background: rgba(234, 219, 200, 0.54);
    color: var(--oftnly-text);
}

.home-user-dropdown {
    position: relative;
}

.home-user-btn {
    min-height: 46px;
    max-width: 240px;
    border: 1px solid rgba(221, 212, 200, 0.92);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--oftnly-text);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 5px 13px 5px 6px;
    font-size: 14px;
    font-weight: 900;
    transition: 0.2s ease;
}

.home-user-btn:hover,
.home-user-btn:focus {
    background: rgba(234, 219, 200, 0.54);
    color: var(--oftnly-text);
    box-shadow: 0 12px 28px rgba(46, 42, 36, 0.12);
}

.home-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex: 0 0 34px;
    object-fit: cover;
    overflow: hidden;
}

.home-user-avatar-default {
    background: rgba(184, 139, 90, 0.16);
    color: var(--oftnly-accent-dark);
    display: inline-grid;
    place-items: center;
    font-size: 18px;
}

.home-user-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-user-menu {
    min-width: 210px;
    border: 1px solid rgba(221, 212, 200, 0.92);
    border-radius: 18px;
    background: rgba(255, 250, 242, 0.98);
    box-shadow: 0 22px 60px rgba(46, 42, 36, 0.16);
    padding: 8px;
}

.home-user-menu .dropdown-item {
    min-height: 42px;
    border-radius: 12px;
    color: var(--oftnly-text);
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 850;
}

.home-user-menu .dropdown-item i {
    color: var(--oftnly-accent-dark);
}

.home-user-menu .dropdown-item:hover,
.home-user-menu .dropdown-item:focus {
    background: rgba(184, 139, 90, 0.12);
    color: var(--oftnly-text);
}

.home-page {
    overflow: hidden;
}

.home-hero {
    position: relative;
    min-height: clamp(620px, 85svh, 820px);
}

.home-hero .carousel,
.home-hero .carousel-inner,
.home-hero .carousel-item {
    min-height: clamp(620px, 85svh, 820px);
}

.home-hero .carousel-item {
    position: relative;
}

.home-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(29, 26, 23, 0.74),
            rgba(29, 26, 23, 0.38),
            rgba(29, 26, 23, 0.18)
        ),
        linear-gradient(180deg, rgba(29, 26, 23, 0.2), rgba(29, 26, 23, 0.66));
}

.home-hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, 100%);
    min-height: clamp(620px, 85svh, 820px);
    margin: 0 auto;
    padding: clamp(120px, 16vw, 180px) clamp(22px, 4vw, 54px) 98px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fffaf2;
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--oftnly-accent-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.home-hero-content .home-kicker {
    color: rgba(255, 250, 242, 0.78);
}

.home-hero-content h1 {
    max-width: 860px;
    margin: 18px 0 20px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(48px, 7vw, 92px);
    line-height: 0.96;
    letter-spacing: 0;
}

.home-hero-content p {
    max-width: 610px;
    margin: 0;
    color: rgba(255, 250, 242, 0.9);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.75;
}

.home-hero-actions {
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.home-hero-actions span {
    color: rgba(255, 250, 242, 0.78);
    font-size: 14px;
    font-weight: 800;
}

.home-hero-control {
    width: 54px;
    height: 54px;
    top: auto;
    bottom: 44px;
    border: 1px solid rgba(255, 250, 242, 0.34);
    border-radius: 50%;
    background: rgba(255, 250, 242, 0.14);
    color: #fffaf2;
    opacity: 1;
    backdrop-filter: blur(8px);
}

.home-hero-control.carousel-control-prev {
    left: auto;
    right: 124px;
}

.home-hero-control.carousel-control-next {
    right: 54px;
}

.home-hero-control:hover {
    background: rgba(255, 250, 242, 0.24);
}

.home-hero-indicators {
    right: auto;
    bottom: 54px;
    left: clamp(22px, 4vw, 54px);
    justify-content: flex-start;
    width: min(1180px, calc(100% - 44px));
    margin: 0 auto;
}

.home-hero-indicators [data-bs-target] {
    width: 36px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background-color: rgba(255, 250, 242, 0.54);
}

.home-hero-indicators .active {
    background-color: #fffaf2;
}

.home-section {
    width: min(1180px, calc(100% - clamp(36px, 8vw, 108px)));
    margin: 0 auto;
    padding: clamp(54px, 8vw, 96px) 0;
}

.home-section-heading {
    max-width: 710px;
    margin-bottom: 28px;
}

.home-section-heading-row {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.home-section-heading h2,
.home-reading-band h2,
.home-subscribe-panel h2,
.public-related-section h2 {
    margin: 10px 0 12px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.02;
    letter-spacing: 0;
}

.home-section-heading p,
.home-reading-band p,
.home-subscribe-panel p {
    margin: 0;
    color: var(--oftnly-muted);
    font-size: 16px;
    line-height: 1.75;
}

.home-stats-section {
    padding-top: 34px;
    padding-bottom: 34px;
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    border: 1px solid rgba(221, 212, 200, 0.78);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 22px 60px rgba(46, 42, 36, 0.08);
    padding: 14px;
}

.home-stats-grid div {
    padding: 22px;
    border-radius: 20px;
    background: rgba(247, 244, 236, 0.62);
}

.home-stats-grid span {
    display: block;
    color: var(--oftnly-text);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    letter-spacing: 0;
}

.home-stats-grid p {
    margin: 4px 0 0;
    color: var(--oftnly-muted);
    font-size: 13px;
    font-weight: 800;
}

.home-category-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.home-category-chip {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border: 1px solid rgba(221, 212, 200, 0.84);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
    color: var(--oftnly-text);
    font-weight: 900;
    text-decoration: none;
    transition: 0.2s ease;
}

.home-category-chip i {
    color: #4f7b70;
}

.home-category-chip small {
    min-width: 28px;
    min-height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(79, 123, 112, 0.12);
    color: #4f7b70;
    font-size: 11px;
    font-weight: 900;
}

.home-category-chip:hover,
.home-category-chip.active {
    border-color: rgba(79, 123, 112, 0.38);
    background: rgba(79, 123, 112, 0.12);
    color: var(--oftnly-text);
}

.home-story-section {
    padding-top: 42px;
}

.home-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-story-card {
    min-width: 0;
    border: 1px solid rgba(221, 212, 200, 0.82);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 48px rgba(46, 42, 36, 0.08);
    overflow: hidden;
    transition: 0.2s ease;
}

.home-story-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 58px rgba(46, 42, 36, 0.12);
}

.home-story-image-link {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.home-story-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.35s ease;
}

.home-story-card:hover .home-story-image-link img {
    transform: scale(1.04);
}

.home-story-card-body {
    padding: 20px;
}

.home-story-meta,
.home-story-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--oftnly-muted);
    font-size: 12px;
    font-weight: 900;
}

.home-story-meta span:first-child {
    color: #4f7b70;
}

.home-story-card h3 {
    margin: 12px 0 10px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 25px;
    line-height: 1.14;
    letter-spacing: 0;
}

.home-story-card h3 a {
    color: var(--oftnly-text);
    text-decoration: none;
}

.home-story-card h3 a:hover {
    color: var(--oftnly-accent-dark);
}

.home-story-card-body p {
    margin: 0 0 18px;
    color: var(--oftnly-muted);
    line-height: 1.65;
}

.home-empty-state {
    grid-column: 1 / -1;
    min-height: 260px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    border: 1px dashed rgba(184, 139, 90, 0.34);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.58);
    text-align: center;
    color: var(--oftnly-muted);
}

.home-empty-state i {
    font-size: 38px;
    color: var(--oftnly-accent-dark);
}

.home-empty-state h3 {
    margin: 0;
    color: var(--oftnly-text);
    font-size: 22px;
    font-weight: 900;
}

.home-empty-state p {
    margin: 0;
}

.home-reading-band,
.home-subscribe-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 30px;
    align-items: center;
    margin-top: 26px;
    margin-bottom: 26px;
    padding: clamp(32px, 5vw, 54px);
    border: 1px solid rgba(221, 212, 200, 0.78);
    border-radius: 30px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.74),
            rgba(247, 244, 236, 0.84)
        ),
        rgba(255, 255, 255, 0.68);
    box-shadow: 0 22px 60px rgba(46, 42, 36, 0.08);
}

.home-reading-points {
    display: grid;
    gap: 12px;
}

.home-reading-points span {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(79, 123, 112, 0.1);
    color: var(--oftnly-text);
    font-weight: 900;
}

.home-reading-points i {
    color: #4f7b70;
    font-size: 20px;
}

.home-subscribe-form {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.home-subscribe-form input {
    min-height: 56px;
    width: 100%;
    border: 1px solid rgba(221, 212, 200, 0.92);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--oftnly-text);
    padding: 0 18px;
    font-weight: 800;
    outline: 0;
}

.home-subscribe-form input:focus {
    border-color: var(--oftnly-accent);
    box-shadow: 0 0 0 0.25rem rgba(184, 139, 90, 0.14);
}

.home-subscribe-form button {
    min-height: 56px;
    border: 0;
    border-radius: 18px;
    background: var(--oftnly-text);
    color: #fffaf2;
    padding: 0 20px;
    font-weight: 900;
}

.home-subscribe-form small {
    position: absolute;
    left: 0;
    bottom: -22px;
    color: var(--oftnly-danger);
    font-size: 12px;
    font-style: italic;
}

.home-footer {
    margin-top: 42px;
    padding: 54px clamp(18px, 4vw, 54px) 22px;
    background: #24211d;
    color: rgba(255, 250, 242, 0.78);
}

.home-footer-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 34px;
}

.home-footer .home-brand {
    color: #fffaf2;
}

.home-footer p {
    max-width: 360px;
    margin: 12px 0 0;
    line-height: 1.7;
}

.home-footer h3 {
    margin: 0 0 14px;
    color: #fffaf2;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-footer a {
    display: block;
    color: rgba(255, 250, 242, 0.74);
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 10px;
}

.home-footer a:hover {
    color: #fffaf2;
}

.home-footer-social {
    gap: 10px;
    margin-top: 20px;
}

.home-footer-social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 250, 242, 0.08);
    margin: 0;
}

.home-footer-subscribe {
    margin-top: 14px;
}

.home-footer-subscribe input {
    min-height: 48px;
    border-radius: 15px;
}

.home-footer-subscribe button {
    min-height: 48px;
    width: 52px;
    padding: 0;
    border-radius: 15px;
    background: #fffaf2;
    color: var(--oftnly-text);
}

.home-footer-bottom {
    width: min(1180px, 100%);
    margin: 38px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 250, 242, 0.12);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
}

.public-diary-article {
    background: rgba(255, 255, 255, 0.58);
}

.public-diary-hero {
    position: relative;
    min-height: clamp(520px, 72svh, 760px);
    display: grid;
    align-items: end;
    overflow: hidden;
}

.public-diary-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-diary-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(29, 26, 23, 0.12), rgba(29, 26, 23, 0.74)),
        linear-gradient(90deg, rgba(29, 26, 23, 0.56), rgba(29, 26, 23, 0.16));
}

.public-diary-hero-content {
    position: relative;
    z-index: 2;
    width: min(980px, calc(100% - clamp(36px, 8vw, 108px)));
    margin: 0 auto;
    padding: 130px 0 70px;
    color: #fffaf2;
}

.public-diary-hero-content h1 {
    max-width: 900px;
    margin: 18px 0 16px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(44px, 7vw, 86px);
    line-height: 0.98;
    letter-spacing: 0;
}

.public-diary-hero-content p {
    margin: 0;
    color: rgba(255, 250, 242, 0.84);
    font-size: 16px;
    font-weight: 800;
}

.public-diary-categories .home-category-chip {
    border-color: rgba(255, 250, 242, 0.26);
    background: rgba(255, 250, 242, 0.16);
    color: #fffaf2;
    backdrop-filter: blur(8px);
}

.public-diary-categories .home-category-chip i {
    color: #fffaf2;
}

.public-diary-body {
    width: min(880px, calc(100% - clamp(36px, 8vw, 108px)));
    margin: 0 auto;
    padding: clamp(42px, 7vw, 78px) 0;
}

.public-diary-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.public-diary-tags span {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(184, 139, 90, 0.14);
    color: var(--oftnly-accent-dark);
    font-size: 13px;
    font-weight: 900;
}

.public-diary-content {
    color: var(--oftnly-text);
    font-size: 18px;
    line-height: 1.85;
}

.public-diary-content h1,
.public-diary-content h2,
.public-diary-content h3 {
    font-family: "Playfair Display", Georgia, serif;
    letter-spacing: 0;
}

.public-diary-content img,
.public-diary-content video {
    max-width: 100%;
    height: auto;
    margin: 28px auto;
    border-radius: 24px;
}

.public-diary-content a {
    color: var(--oftnly-accent-dark);
    font-weight: 800;
}

.public-related-section {
    padding-top: 20px;
}

@media (max-width: 991.98px) {
    .home-navbar {
        padding-inline: 18px;
    }

    .home-nav-links {
        display: none;
    }

    .home-stats-grid,
    .home-story-grid,
    .home-footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-reading-band,
    .home-subscribe-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .home-section,
    .public-diary-body,
    .public-diary-hero-content {
        width: calc(100% - 36px);
    }

    .home-hero,
    .home-hero .carousel,
    .home-hero .carousel-inner,
    .home-hero .carousel-item,
    .home-hero-content {
        min-height: 660px;
    }

    .home-hero-control {
        display: none;
    }

    .home-hero-indicators {
        left: 18px;
        bottom: 28px;
    }

    .home-section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-story-grid,
    .home-footer-inner,
    .home-stats-grid {
        grid-template-columns: 1fr;
    }

    .home-subscribe-form {
        grid-template-columns: 1fr;
    }

    .home-subscribe-form button {
        width: 100%;
    }

    .home-footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .home-nav-inner {
        gap: 12px;
    }

    .home-brand {
        font-size: 36px;
    }

    .home-user-btn {
        max-width: 56px;
        padding-right: 8px;
        gap: 0;
    }

    .home-user-name {
        display: none;
    }

    .home-user-btn::after {
        margin-left: 6px;
    }

    .home-nav-button {
        display: none;
    }

    .home-hero-content {
        padding-top: 110px;
        padding-bottom: 82px;
    }

    .home-hero-content h1,
    .public-diary-hero-content h1 {
        font-size: 42px;
    }

    .home-category-chip {
        width: 100%;
        justify-content: space-between;
    }

    .home-reading-band,
    .home-subscribe-panel {
        border-radius: 24px;
        padding: 26px;
    }
}

@media (max-width: 991.98px) {
    .oftnly-auth-wrapper {
        padding: 18px;
        align-items: stretch;
    }

    .oftnly-auth-shell {
        min-height: auto;
    }

    .oftnly-hero-panel {
        display: none;
    }

    .oftnly-form-panel {
        min-height: auto;
        padding: 28px;
    }

    .oftnly-form-card {
        max-width: 100%;
        padding: 28px;
    }

    .oftnly-small-logo {
        display: block;
    }

    .oftnly-auth-body--fullscreen .oftnly-auth-shell > .row,
    .oftnly-auth-body--fullscreen .oftnly-form-panel {
        min-height: 100svh;
    }

    .oftnly-auth-body--fullscreen .oftnly-form-panel {
        padding: clamp(20px, 5vw, 48px) 0 0;
    }

    .oftnly-auth-body--fullscreen .oftnly-form-card {
        width: min(100% - clamp(40px, 10vw, 96px), 560px);
        margin: auto;
    }

    .oftnly-auth-footer {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 10px;
    }

    .oftnly-footer-links {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .oftnly-auth-wrapper {
        padding: 12px;
    }

    .oftnly-form-panel {
        padding: 18px;
    }

    .oftnly-form-card {
        padding: 22px;
        border-radius: 22px;
    }

    .oftnly-otp-wrapper {
        gap: 8px;
    }

    .oftnly-otp-input {
        min-height: 46px;
        border-radius: 12px !important;
        font-size: 18px;
    }

    .oftnly-auth-body--fullscreen .oftnly-form-panel {
        align-items: stretch;
        justify-content: space-between;
        gap: 0;
        padding: 0;
    }

    .oftnly-auth-body--fullscreen .oftnly-form-card {
        display: flex;
        width: 100%;
        min-height: auto;
        max-width: none;
        flex: 1 0 auto;
        flex-direction: column;
        justify-content: center;
        padding: clamp(24px, 7vw, 36px);
        border: 0;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
    }

    .oftnly-form-canvas {
        opacity: 0.48;
    }

    .oftnly-auth-footer {
        max-width: none;
        padding: 16px 18px 18px;
    }

    .oftnly-footer-social {
        gap: 14px;
    }

    .oftnly-footer-links {
        gap: 10px;
    }
}

/* Oftnly Dashboard UI */
body.oftnly-dashboard-body {
    --oftnly-shadow: 0 22px 60px rgba(46, 42, 36, 0.11);
    --sidebar-width: 292px;
    --navbar-height: 78px;
}

body.oftnly-dashboard-body {
    min-height: 100vh;
    font-family: "Inter", Arial, sans-serif;
    color: var(--oftnly-text);
    background:
        radial-gradient(
            circle at top left,
            rgba(184, 139, 90, 0.16),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(234, 219, 200, 0.58),
            transparent 34%
        ),
        linear-gradient(135deg, #fbf8f0 0%, #f0e9dd 100%);
    overflow-x: hidden;
}

body.oftnly-dashboard-body a {
    color: inherit;
}

body.oftnly-dashboard-body .oftnly-dashboard {
    min-height: 100vh;
    display: flex;
}

body.oftnly-dashboard-body .oftnly-sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1040;
    padding: 22px;
    background: rgba(255, 255, 255, 0.68);
    border-right: 1px solid rgba(221, 212, 200, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 18px 0 60px rgba(46, 42, 36, 0.08);
    transition: transform 0.25s ease;
}

body.oftnly-dashboard-body .sidebar-inner {
    min-height: calc(100vh - 44px);
    display: flex;
    flex-direction: column;
}

body.oftnly-dashboard-body .brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
}

body.oftnly-dashboard-body .brand-logo {
    font-family: "Great Vibes", cursive;
    font-size: 44px;
    line-height: 1;
    text-decoration: none;
    color: var(--oftnly-text);
}

body.oftnly-dashboard-body .sidebar-close {
    display: none;
    border: 0;
    background: rgba(234, 219, 200, 0.5);
    color: var(--oftnly-text);
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

body.oftnly-dashboard-body .profile-card {
    padding: 18px;
    border-radius: 26px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.72),
        rgba(247, 244, 236, 0.86)
    );
    border: 1px solid rgba(221, 212, 200, 0.86);
    box-shadow: 0 16px 44px rgba(46, 42, 36, 0.08);
    text-align: center;
    margin-bottom: 22px;
}

body.oftnly-dashboard-body .profile-avatar {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 26px rgba(46, 42, 36, 0.16);
    margin-bottom: 12px;
}

body.oftnly-dashboard-body .profile-avatar-default,
body.oftnly-dashboard-body .navbar-user-avatar-default {
    display: inline-grid;
    place-items: center;
    background: rgba(184, 139, 90, 0.16);
    color: var(--oftnly-accent-dark);
}

body.oftnly-dashboard-body .profile-avatar-default {
    font-size: 36px;
}

body.oftnly-dashboard-body .profile-name {
    font-weight: 800;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.oftnly-dashboard-body .profile-email {
    color: var(--oftnly-muted);
    font-size: 13px;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.oftnly-dashboard-body .role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(184, 139, 90, 0.15);
    color: var(--oftnly-accent-dark);
    font-size: 12px;
    font-weight: 800;
}

body.oftnly-dashboard-body .sidebar-menu {
    flex: 1;
    overflow-y: auto;
    padding-right: 2px;
}

body.oftnly-dashboard-body .sidebar-menu::-webkit-scrollbar {
    width: 5px;
}

body.oftnly-dashboard-body .sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(184, 139, 90, 0.28);
    border-radius: 999px;
}

body.oftnly-dashboard-body .menu-link,
body.oftnly-dashboard-body .accordion-button.oftnly-accordion-btn {
    min-height: 48px;
    border: 0;
    border-radius: 17px !important;
    padding: 12px 14px;
    color: var(--oftnly-muted);
    background: transparent;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 11px;
    box-shadow: none;
}

body.oftnly-dashboard-body .menu-link:hover,
body.oftnly-dashboard-body .accordion-button.oftnly-accordion-btn:hover,
body.oftnly-dashboard-body .menu-link.active {
    color: var(--oftnly-text);
    background: rgba(234, 219, 200, 0.52);
}

body.oftnly-dashboard-body .menu-link.active {
    box-shadow: inset 0 0 0 1px rgba(184, 139, 90, 0.18);
}

body.oftnly-dashboard-body .menu-icon {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 32px;
    border-radius: 12px;
    color: var(--oftnly-accent-dark);
    background: rgba(184, 139, 90, 0.12);
}

body.oftnly-dashboard-body .accordion-item.oftnly-menu-item {
    border: 0;
    background: transparent;
    margin-bottom: 4px;
}

body.oftnly-dashboard-body
    .accordion-button.oftnly-accordion-btn:not(.collapsed) {
    color: var(--oftnly-text);
    background: rgba(234, 219, 200, 0.52);
    box-shadow: none;
}

body.oftnly-dashboard-body .accordion-button.oftnly-accordion-btn::after {
    width: 12px;
    height: 12px;
    background-size: 12px;
    opacity: 0.5;
}

body.oftnly-dashboard-body .submenu-list {
    padding: 8px 0 10px 46px;
}

body.oftnly-dashboard-body .submenu-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: 14px;
    color: var(--oftnly-muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

body.oftnly-dashboard-body .submenu-link:hover,
body.oftnly-dashboard-body .submenu-link.active {
    color: var(--oftnly-text);
    background: rgba(255, 255, 255, 0.62);
}

body.oftnly-dashboard-body .sidebar-logout {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(221, 212, 200, 0.82);
}

span.text-required {
    position: relative;
    top: -4px;
    left: 2px;
    color: red;
}

body.oftnly-dashboard-body .logout-btn {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 18px;
    background: rgba(199, 109, 90, 0.12);
    color: var(--oftnly-danger);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: 0.2s ease;
}

body.oftnly-dashboard-body .sidebar-logout form,
body.oftnly-dashboard-body .dropdown-menu form {
    margin: 0;
}

body.oftnly-dashboard-body .logout-btn:hover {
    background: rgba(199, 109, 90, 0.18);
    color: #9f4d3d;
    transform: translateY(-1px);
}

body.oftnly-dashboard-body .main-area {
    width: 100%;
    min-height: 100vh;
    margin-left: var(--sidebar-width);
    transition: margin-left 0.25s ease;
}

body.oftnly-dashboard-body .top-navbar {
    height: var(--navbar-height);
    position: sticky;
    top: 0;
    z-index: 1020;
    padding: 14px 28px;
    border-bottom: 1px solid rgba(221, 212, 200, 0.8);
    background: rgba(247, 244, 236, 0.72);
    backdrop-filter: blur(16px);
}

body.oftnly-dashboard-body .nav-home-link,
body.oftnly-dashboard-body .nav-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    border: 1px solid rgba(221, 212, 200, 0.9);
    background: rgba(255, 255, 255, 0.62);
    color: var(--oftnly-text);
    display: inline-grid;
    place-items: center;
    text-decoration: none;
    transition: 0.2s ease;
}

body.oftnly-dashboard-body .nav-home-link:hover,
body.oftnly-dashboard-body .nav-icon-btn:hover {
    background: #fff;
    color: var(--oftnly-accent-dark);
    transform: translateY(-1px);
}

body.oftnly-dashboard-body .mobile-sidebar-toggle {
    display: none;
}

body.oftnly-dashboard-body .search-box {
    width: min(430px, 42vw);
    position: relative;
}

body.oftnly-dashboard-body .search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--oftnly-muted);
}

body.oftnly-dashboard-body .search-box .form-control {
    min-height: 48px;
    padding-left: 44px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
}

body.oftnly-dashboard-body .notification-dot {
    position: absolute;
    top: 10px;
    right: 11px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--oftnly-danger);
    border: 2px solid #fff;
}

body.oftnly-dashboard-body .navbar-user-btn {
    max-width: 220px;
    min-height: 48px;
    padding: 6px 8px 6px 6px;
    border-radius: 999px;
    border: 1px solid rgba(221, 212, 200, 0.9);
    background: rgba(255, 255, 255, 0.62);
    color: var(--oftnly-text);
}

body.oftnly-dashboard-body .navbar-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 36px;
}

body.oftnly-dashboard-body .navbar-user-avatar-default {
    font-size: 17px;
}

body.oftnly-dashboard-body .navbar-user-name {
    min-width: 0;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.oftnly-dashboard-body .dropdown-menu {
    border: 1px solid rgba(221, 212, 200, 0.92);
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(46, 42, 36, 0.12);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    padding: 8px;
}

body.oftnly-dashboard-body .dropdown-item {
    border-radius: 13px;
    padding: 10px 12px;
    font-weight: 700;
    color: var(--oftnly-muted);
}

body.oftnly-dashboard-body .dropdown-item:hover {
    background: rgba(234, 219, 200, 0.52);
    color: var(--oftnly-text);
}

body.oftnly-dashboard-body .dropdown-item.text-danger:hover {
    background: rgba(199, 109, 90, 0.12);
    color: var(--oftnly-danger) !important;
}

body.oftnly-dashboard-body .content-wrap {
    padding: 34px 28px 44px;
}

body.oftnly-dashboard-body .page-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin-bottom: 8px;
}

body.oftnly-dashboard-body .page-subtitle {
    color: var(--oftnly-muted);
    margin-bottom: 28px;
}

body.oftnly-dashboard-body .stat-card,
body.oftnly-dashboard-body .dashboard-card {
    border-radius: 26px;
    border: 1px solid rgba(221, 212, 200, 0.85);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--oftnly-shadow);
}

body.oftnly-dashboard-body .stat-card {
    padding: 22px;
}

body.oftnly-dashboard-body .stat-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: var(--oftnly-accent-dark);
    background: rgba(184, 139, 90, 0.14);
    font-size: 20px;
}

body.oftnly-dashboard-body .stat-value {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin: 12px 0 2px;
}

body.oftnly-dashboard-body .stat-label {
    color: var(--oftnly-muted);
    font-weight: 700;
    font-size: 13px;
    margin: 0;
}

body.oftnly-dashboard-body .dashboard-card {
    padding: 26px;
}

body.oftnly-dashboard-body .section-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

body.oftnly-dashboard-body .story-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(247, 244, 236, 0.58);
    border: 1px solid rgba(221, 212, 200, 0.65);
    margin-bottom: 12px;
}

body.oftnly-dashboard-body .dashboard-story-link {
    color: inherit;
    text-decoration: none;
    transition: 0.2s ease;
}

body.oftnly-dashboard-body .dashboard-story-link:hover {
    background: rgba(234, 219, 200, 0.55);
    transform: translateY(-1px);
}

body.oftnly-dashboard-body .story-thumb {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 18px;
    flex: 0 0 74px;
}

body.oftnly-dashboard-body .story-title {
    font-weight: 900;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.oftnly-dashboard-body .story-meta {
    font-size: 13px;
    color: var(--oftnly-muted);
    margin: 0;
}

body.oftnly-dashboard-body .dashboard-coming-soon {
    display: inline-flex;
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(184, 139, 90, 0.14);
    color: var(--oftnly-accent-dark);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

body.oftnly-dashboard-body .dashboard-empty-state {
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    text-align: center;
    border: 1px dashed rgba(184, 139, 90, 0.34);
    border-radius: 22px;
    background: rgba(247, 244, 236, 0.58);
    color: var(--oftnly-muted);
}

body.oftnly-dashboard-body .dashboard-empty-state i {
    font-size: 34px;
    color: var(--oftnly-accent-dark);
}

body.oftnly-dashboard-body .dashboard-empty-state h3 {
    margin: 0;
    color: var(--oftnly-text);
    font-size: 18px;
    font-weight: 900;
}

body.oftnly-dashboard-body .dashboard-empty-state p {
    max-width: 360px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

body.oftnly-dashboard-body .quick-action {
    min-height: 58px;
    border: 1px solid rgba(221, 212, 200, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--oftnly-text);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: 0.2s ease;
}

body.oftnly-dashboard-body .quick-action:hover {
    background: var(--oftnly-text);
    color: #fffaf2;
    transform: translateY(-1px);
}

body.oftnly-dashboard-body .diary-table-card {
    overflow: visible;
}

body.oftnly-dashboard-body .diary-table-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

body.oftnly-dashboard-body .diary-table-note {
    margin: 0;
    color: var(--oftnly-muted);
    font-size: 14px;
}

body.oftnly-dashboard-body .diary-filter-bar {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px;
    margin-bottom: 18px;
    border: 1px solid rgba(221, 212, 200, 0.72);
    border-radius: 20px;
    background: rgba(247, 244, 236, 0.6);
}

body.oftnly-dashboard-body .diary-filter-field {
    min-width: min(100%, 210px);
}

body.oftnly-dashboard-body .diary-filter-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--oftnly-muted);
    font-size: 12px;
    font-weight: 800;
}

body.oftnly-dashboard-body .diary-filter-field .form-select,
body.oftnly-dashboard-body .dataTables_length select,
body.oftnly-dashboard-body .dataTables_filter input {
    min-height: 44px;
    border-color: rgba(221, 212, 200, 0.92);
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.76);
    color: var(--oftnly-text);
    font-weight: 700;
}

body.oftnly-dashboard-body .dataTables_filter input {
    min-width: min(72vw, 280px);
    padding-inline: 16px;
    margin-left: 0;
}

body.oftnly-dashboard-body .diary-filter-field .form-select:focus,
body.oftnly-dashboard-body .dataTables_length select:focus,
body.oftnly-dashboard-body .dataTables_filter input:focus {
    border-color: var(--oftnly-accent);
    box-shadow: 0 0 0 0.25rem rgba(184, 139, 90, 0.14);
}

body.oftnly-dashboard-body .diary-reset-btn,
body.oftnly-dashboard-body .diary-export-icon-btn {
    min-height: 44px;
    border: 1px solid rgba(221, 212, 200, 0.9);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--oftnly-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    box-shadow: none;
    transition: 0.2s ease;
}

body.oftnly-dashboard-body .diary-reset-btn {
    padding: 0 16px;
}

body.oftnly-dashboard-body .diary-export-icon-btn {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    font-size: 18px;
}

body.oftnly-dashboard-body .diary-reset-btn:hover,
body.oftnly-dashboard-body .diary-export-icon-btn:hover {
    background: var(--oftnly-text);
    color: #fffaf2;
    transform: translateY(-1px);
}

body.oftnly-dashboard-body .diary-datatable-top,
body.oftnly-dashboard-body .diary-datatable-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

body.oftnly-dashboard-body .diary-datatable-bottom {
    margin: 18px 0 0;
}

body.oftnly-dashboard-body .dataTables_length label,
body.oftnly-dashboard-body .dataTables_filter label,
body.oftnly-dashboard-body .dataTables_info {
    color: var(--oftnly-muted);
    font-size: 13px;
    font-weight: 700;
}

body.oftnly-dashboard-body .diary-table-wrap {
    border: 1px solid rgba(221, 212, 200, 0.72);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.5);
    padding: 8px;
    overflow: visible;
}

body.oftnly-dashboard-body .diary-table {
    margin: 0 !important;
    color: var(--oftnly-text);
    width: 100% !important;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
}

body.oftnly-dashboard-body .diary-table thead th {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(221, 212, 200, 0.86) !important;
    background: rgba(234, 219, 200, 0.4);
    color: var(--oftnly-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

body.oftnly-dashboard-body .diary-table tbody td {
    padding: 18px 20px;
    border-color: rgba(221, 212, 200, 0.58);
    vertical-align: middle;
    font-weight: 700;
    white-space: normal;
    overflow-wrap: anywhere;
}

body.oftnly-dashboard-body .diary-table thead th:first-child,
body.oftnly-dashboard-body .diary-table tbody td:first-child {
    width: 72px;
    text-align: center;
}

body.oftnly-dashboard-body .diary-table thead th:nth-child(2),
body.oftnly-dashboard-body .diary-table tbody td:nth-child(2) {
    min-width: 280px;
    white-space: normal;
}

body.oftnly-dashboard-body .diary-table thead th:nth-child(3),
body.oftnly-dashboard-body .diary-table tbody td:nth-child(3) {
    min-width: 140px;
    white-space: nowrap;
}

body.oftnly-dashboard-body .diary-table thead th:nth-child(4),
body.oftnly-dashboard-body .diary-table tbody td:nth-child(4) {
    min-width: 126px;
    text-align: center;
    white-space: nowrap;
}

body.oftnly-dashboard-body .diary-table thead th:last-child,
body.oftnly-dashboard-body .diary-table tbody td:last-child {
    width: 94px;
    text-align: right;
    white-space: nowrap;
}

body.oftnly-dashboard-body
    .diary-table.diary-table-has-author
    thead
    th:nth-child(2),
body.oftnly-dashboard-body
    .diary-table.diary-table-has-author
    tbody
    td:nth-child(2) {
    min-width: 240px;
}

body.oftnly-dashboard-body
    .diary-table.diary-table-has-author
    thead
    th:nth-child(3),
body.oftnly-dashboard-body
    .diary-table.diary-table-has-author
    tbody
    td:nth-child(3) {
    min-width: 150px;
    white-space: normal;
}

body.oftnly-dashboard-body
    .diary-table.diary-table-has-author
    thead
    th:nth-child(4),
body.oftnly-dashboard-body
    .diary-table.diary-table-has-author
    tbody
    td:nth-child(4) {
    min-width: 130px;
    text-align: left;
    white-space: nowrap;
}

body.oftnly-dashboard-body
    .diary-table.diary-table-has-author
    thead
    th:nth-child(5),
body.oftnly-dashboard-body
    .diary-table.diary-table-has-author
    tbody
    td:nth-child(5) {
    min-width: 126px;
    text-align: center;
    white-space: nowrap;
}

body.oftnly-dashboard-body .user-account-table thead th:nth-child(2),
body.oftnly-dashboard-body .user-account-table tbody td:nth-child(2) {
    min-width: 220px;
}

body.oftnly-dashboard-body .user-account-table thead th:nth-child(3),
body.oftnly-dashboard-body .user-account-table tbody td:nth-child(3) {
    min-width: 240px;
    white-space: normal;
}

body.oftnly-dashboard-body .user-account-table thead th:nth-child(4),
body.oftnly-dashboard-body .user-account-table tbody td:nth-child(4) {
    min-width: 126px;
    text-align: center;
    white-space: nowrap;
}

body.oftnly-dashboard-body .user-account-table thead th:nth-child(5),
body.oftnly-dashboard-body .user-account-table tbody td:nth-child(5) {
    min-width: 132px;
    text-align: left;
    white-space: nowrap;
}

body.oftnly-dashboard-body .diary-table tbody tr:hover {
    background: rgba(247, 244, 236, 0.58);
}

body.oftnly-dashboard-body .diary-no {
    color: var(--oftnly-muted);
    font-weight: 900;
}

body.oftnly-dashboard-body .diary-title-cell {
    max-width: 360px;
    font-weight: 900;
    line-height: 1.35;
}

body.oftnly-dashboard-body .diary-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

body.oftnly-dashboard-body .diary-status.is-published,
body.oftnly-dashboard-body .diary-status.is-active {
    background: rgba(63, 131, 103, 0.14);
    color: #3f8367;
}

body.oftnly-dashboard-body .diary-status.is-draft {
    background: rgba(184, 139, 90, 0.16);
    color: var(--oftnly-accent-dark);
}

body.oftnly-dashboard-body .diary-status.is-inactive {
    background: rgba(138, 129, 116, 0.16);
    color: var(--oftnly-muted);
}

body.oftnly-dashboard-body .diary-status.is-suspended {
    background: rgba(199, 109, 90, 0.15);
    color: var(--oftnly-danger);
}

body.oftnly-dashboard-body .diary-status.is-pending {
    background: rgba(203, 148, 67, 0.16);
    color: #9b6728;
}

body.oftnly-dashboard-body .diary-status.is-rejected {
    background: rgba(199, 109, 90, 0.15);
    color: var(--oftnly-danger);
}

body.oftnly-dashboard-body .diary-status.is-approved {
    background: rgba(63, 131, 103, 0.14);
    color: #3f8367;
}

body.oftnly-dashboard-body .diary-action-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(221, 212, 200, 0.9);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--oftnly-text);
    display: inline-grid;
    place-items: center;
    transition: 0.2s ease;
}

body.oftnly-dashboard-body .diary-action-btn:hover,
body.oftnly-dashboard-body .diary-action-btn:focus {
    background: var(--oftnly-text);
    color: #fffaf2;
}

body.oftnly-dashboard-body .diary-action-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.oftnly-dashboard-body .diary-action-menu .dropdown-item i {
    width: 18px;
    color: var(--oftnly-accent-dark);
}

body.oftnly-dashboard-body .diary-action-menu .dropdown-item.text-danger i {
    color: var(--oftnly-danger);
}

body.oftnly-dashboard-body .diary-preview-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

body.oftnly-dashboard-body .diary-preview-shell {
    width: min(1080px, 100%);
    margin: 0 auto;
    border: 1px solid rgba(221, 212, 200, 0.86);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--oftnly-shadow);
    overflow: hidden;
}

body.oftnly-dashboard-body .diary-preview-statusbar {
    min-height: 58px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(221, 212, 200, 0.7);
    color: var(--oftnly-muted);
    font-size: 13px;
    font-weight: 800;
}

body.oftnly-dashboard-body .diary-preview-banner,
body.oftnly-dashboard-body .diary-preview-empty-banner {
    width: 100%;
    aspect-ratio: 16 / 7;
    min-height: 280px;
}

body.oftnly-dashboard-body .diary-preview-banner {
    display: block;
    object-fit: cover;
}

body.oftnly-dashboard-body .diary-preview-empty-banner {
    display: grid;
    place-items: center;
    gap: 8px;
    background:
        linear-gradient(
            135deg,
            rgba(234, 219, 200, 0.5),
            rgba(255, 255, 255, 0.72)
        ),
        rgba(247, 244, 236, 0.76);
    color: var(--oftnly-muted);
    font-weight: 900;
}

body.oftnly-dashboard-body .diary-preview-empty-banner i {
    font-size: 34px;
    color: var(--oftnly-accent-dark);
}

body.oftnly-dashboard-body .diary-preview-intro {
    padding: 34px 42px 18px;
}

body.oftnly-dashboard-body .diary-preview-chip-row,
body.oftnly-dashboard-body .diary-preview-tag-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

body.oftnly-dashboard-body .diary-preview-chip-row span,
body.oftnly-dashboard-body .diary-preview-tag-row span {
    border-radius: 999px;
    background: rgba(184, 139, 90, 0.14);
    color: var(--oftnly-accent-dark);
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 900;
}

body.oftnly-dashboard-body .diary-preview-intro h2 {
    max-width: 860px;
    margin: 18px 0 10px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(36px, 5vw, 66px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: var(--oftnly-text);
}

body.oftnly-dashboard-body .diary-preview-intro p {
    margin: 0 0 18px;
    color: var(--oftnly-muted);
    font-weight: 750;
}

body.oftnly-dashboard-body .diary-preview-content {
    padding: 8px 42px 46px;
    color: var(--oftnly-text);
    font-size: 17px;
    line-height: 1.8;
}

body.oftnly-dashboard-body .diary-preview-content img,
body.oftnly-dashboard-body .diary-preview-content video {
    max-width: 100%;
    border-radius: 20px;
    margin: 18px 0;
}

body.oftnly-dashboard-body .diary-preview-content a {
    color: var(--oftnly-accent-dark);
    font-weight: 900;
}

body.oftnly-dashboard-body .diary-preview-empty-copy {
    color: var(--oftnly-muted);
    font-weight: 750;
}

body.oftnly-dashboard-body .diary-share-modal .modal-content {
    border: 1px solid rgba(221, 212, 200, 0.86);
    border-radius: 26px;
    background: rgba(255, 250, 242, 0.98);
    color: var(--oftnly-text);
    box-shadow: 0 30px 86px rgba(46, 42, 36, 0.22);
    overflow: hidden;
}

body.oftnly-dashboard-body .diary-share-modal .modal-header {
    padding: 22px 24px;
    border-bottom: 1px solid rgba(221, 212, 200, 0.72);
}

body.oftnly-dashboard-body .diary-share-modal .modal-title {
    color: var(--oftnly-text);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 700;
}

body.oftnly-dashboard-body .diary-share-subtitle,
body.oftnly-dashboard-body .diary-share-note {
    margin: 4px 0 0;
    color: var(--oftnly-muted);
    font-size: 13px;
    font-weight: 750;
}

body.oftnly-dashboard-body .diary-share-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

body.oftnly-dashboard-body .diary-share-option {
    min-height: 92px;
    border: 1px solid rgba(221, 212, 200, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--oftnly-text);
    display: grid;
    place-items: center;
    gap: 7px;
    padding: 12px 8px;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    transition: 0.2s ease;
}

body.oftnly-dashboard-body .diary-share-option:hover,
body.oftnly-dashboard-body .diary-share-option:focus {
    background: var(--oftnly-text);
    border-color: var(--oftnly-text);
    color: #fffaf2;
    transform: translateY(-1px);
}

body.oftnly-dashboard-body .diary-share-option i {
    color: var(--oftnly-accent-dark);
    font-size: 24px;
}

body.oftnly-dashboard-body .diary-share-option:hover i,
body.oftnly-dashboard-body .diary-share-option:focus i {
    color: #fffaf2;
}

body.oftnly-dashboard-body .diary-share-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 18px;
}

body.oftnly-dashboard-body .diary-share-copy .diary-secondary-btn {
    min-width: 110px;
}

body.oftnly-dashboard-body .diary-share-note {
    margin-top: 12px;
}

body.oftnly-dashboard-body .category-table thead th:nth-child(2),
body.oftnly-dashboard-body .category-table tbody td:nth-child(2) {
    width: 92px;
    min-width: 92px;
}

body.oftnly-dashboard-body .category-table thead th:nth-child(3),
body.oftnly-dashboard-body .category-table tbody td:nth-child(3) {
    min-width: 230px;
}

body.oftnly-dashboard-body .category-table thead th:nth-child(4),
body.oftnly-dashboard-body .category-table tbody td:nth-child(4) {
    min-width: 110px;
    white-space: nowrap;
}

body.oftnly-dashboard-body .category-table thead th:nth-child(5),
body.oftnly-dashboard-body .category-table tbody td:nth-child(5) {
    min-width: 132px;
    white-space: nowrap;
}

body.oftnly-dashboard-body .category-table thead th:nth-child(6),
body.oftnly-dashboard-body .category-table tbody td:nth-child(6) {
    min-width: 118px;
    text-align: center;
    white-space: nowrap;
}

body.oftnly-dashboard-body .category-picture-cell {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(184, 139, 90, 0.14);
    color: var(--oftnly-accent-dark);
    display: grid;
    place-items: center;
}

body.oftnly-dashboard-body .category-picture-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.oftnly-dashboard-body .category-picture-cell span {
    font-size: 24px;
}

body.oftnly-dashboard-body .category-slug {
    display: block;
    margin-top: 4px;
    color: var(--oftnly-muted);
    font-size: 12px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

body.oftnly-dashboard-body .category-count-pill {
    min-height: 30px;
    border-radius: 999px;
    background: rgba(234, 219, 200, 0.58);
    color: var(--oftnly-accent-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 900;
}

body.oftnly-dashboard-body .category-form-modal .modal-content,
body.oftnly-dashboard-body .category-view-modal .modal-content {
    border: 1px solid rgba(221, 212, 200, 0.86);
    border-radius: 26px;
    background: rgba(255, 250, 242, 0.98);
    color: var(--oftnly-text);
    box-shadow: 0 30px 86px rgba(46, 42, 36, 0.22);
    overflow: hidden;
}

body.oftnly-dashboard-body .category-form-modal .modal-header,
body.oftnly-dashboard-body .category-view-modal .modal-header {
    padding: 22px 24px;
    border-bottom: 1px solid rgba(221, 212, 200, 0.72);
}

body.oftnly-dashboard-body .category-form-modal .modal-title,
body.oftnly-dashboard-body .category-view-modal .modal-title {
    color: var(--oftnly-text);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 700;
}

body.oftnly-dashboard-body .category-modal-subtitle {
    margin: 4px 0 0;
    color: var(--oftnly-muted);
    font-size: 13px;
    font-weight: 750;
}

body.oftnly-dashboard-body .category-form-grid,
body.oftnly-dashboard-body .category-view-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

body.oftnly-dashboard-body .category-picture-preview,
body.oftnly-dashboard-body .category-view-picture {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 220px;
    border: 1px dashed rgba(184, 139, 90, 0.48);
    border-radius: 24px;
    background: rgba(247, 244, 236, 0.74);
    color: var(--oftnly-accent-dark);
    display: grid;
    place-items: center;
    overflow: hidden;
    cursor: pointer;
}

body.oftnly-dashboard-body .category-view-picture {
    cursor: default;
}

body.oftnly-dashboard-body .category-picture-preview img,
body.oftnly-dashboard-body .category-view-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.oftnly-dashboard-body .category-picture-placeholder,
body.oftnly-dashboard-body .category-view-picture span {
    display: grid;
    place-items: center;
    gap: 6px;
    text-align: center;
    padding: 18px;
    font-weight: 900;
}

body.oftnly-dashboard-body .category-picture-placeholder i,
body.oftnly-dashboard-body .category-view-picture i {
    font-size: 34px;
}

body.oftnly-dashboard-body .category-picture-placeholder small {
    color: var(--oftnly-muted);
    font-size: 12px;
}

body.oftnly-dashboard-body .category-form-fields {
    display: grid;
    gap: 16px;
}

body.oftnly-dashboard-body .category-modal-actions {
    gap: 10px;
    padding: 18px 24px 24px;
    border-top: 1px solid rgba(221, 212, 200, 0.72);
}

body.oftnly-dashboard-body .category-view-list {
    margin: 0;
}

body.oftnly-dashboard-body .profile-page-grid {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

body.oftnly-dashboard-body .profile-page-grid-main {
    grid-template-columns: minmax(0, 1fr);
}

body.oftnly-dashboard-body .profile-details-card-wide,
body.oftnly-dashboard-body .profile-page-grid-main .profile-password-card {
    grid-column: 1;
}

body.oftnly-dashboard-body .profile-account-layout {
    display: grid;
    grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

body.oftnly-dashboard-body .profile-picture-panel {
    padding: 18px;
    border: 1px solid rgba(221, 212, 200, 0.72);
    border-radius: 22px;
    background: rgba(247, 244, 236, 0.58);
}

body.oftnly-dashboard-body .profile-picture-card {
    position: sticky;
    top: calc(var(--navbar-height) + 24px);
}

body.oftnly-dashboard-body .profile-password-card {
    grid-column: 2;
}

body.oftnly-dashboard-body .profile-picture-preview {
    width: 150px;
    height: 150px;
    margin: 0 auto 18px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(46, 42, 36, 0.16);
    overflow: hidden;
    background: rgba(184, 139, 90, 0.14);
    color: var(--oftnly-accent-dark);
    display: grid;
    place-items: center;
}

body.oftnly-dashboard-body .profile-picture-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.oftnly-dashboard-body .profile-picture-default {
    font-size: 64px;
}

body.oftnly-dashboard-body .profile-page-note {
    color: var(--oftnly-muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 18px;
}

body.oftnly-dashboard-body .profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

body.oftnly-dashboard-body .profile-form-stack {
    display: grid;
    gap: 12px;
}

body.oftnly-dashboard-body .profile-form-span {
    grid-column: 1 / -1;
}

body.oftnly-dashboard-body .profile-form-actions {
    display: flex;
    justify-content: flex-end;
}

body.oftnly-dashboard-body .profile-actions-centered {
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

body.oftnly-dashboard-body .profile-upload-control {
    min-height: 48px;
    border: 1px dashed rgba(184, 139, 90, 0.48);
    border-radius: 16px;
    background: rgba(247, 244, 236, 0.68);
    color: var(--oftnly-accent-dark);
    display: grid;
    place-items: center;
    cursor: pointer;
    font-weight: 900;
}

body.oftnly-dashboard-body .profile-upload-control span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.oftnly-dashboard-body .profile-overview-control {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

body.oftnly-dashboard-body .wallet-coming-card {
    min-height: calc(100svh - var(--navbar-height) - 90px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

body.oftnly-dashboard-body .wallet-coming-card .page-subtitle {
    max-width: 680px;
    margin-inline: auto;
}

body.oftnly-dashboard-body .wallet-coming-icon {
    width: 86px;
    height: 86px;
    border-radius: 28px;
    background: rgba(184, 139, 90, 0.14);
    color: var(--oftnly-accent-dark);
    display: grid;
    place-items: center;
    font-size: 36px;
    margin-bottom: 20px;
}

body.oftnly-dashboard-body .user-view-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

body.oftnly-dashboard-body .user-view-avatar {
    width: 132px;
    height: 132px;
    flex: 0 0 132px;
    border-radius: 34px;
    border: 5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(46, 42, 36, 0.14);
    overflow: hidden;
    background: rgba(184, 139, 90, 0.14);
    color: var(--oftnly-accent-dark);
    display: grid;
    place-items: center;
}

body.oftnly-dashboard-body .user-view-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.oftnly-dashboard-body .user-view-avatar .profile-picture-default {
    font-size: 58px;
}

body.oftnly-dashboard-body .user-view-main {
    min-width: 0;
}

body.oftnly-dashboard-body .user-view-main h2 {
    margin: 10px 0 6px;
    color: var(--oftnly-text);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 900;
    overflow-wrap: anywhere;
}

body.oftnly-dashboard-body .user-view-main p {
    margin: 0;
    color: var(--oftnly-muted);
    font-size: 15px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

body.oftnly-dashboard-body .user-view-status-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.oftnly-dashboard-body .user-view-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

body.oftnly-dashboard-body .user-view-card {
    min-height: 100%;
}

body.oftnly-dashboard-body .user-info-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

body.oftnly-dashboard-body .user-info-list div {
    display: grid;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(221, 212, 200, 0.62);
}

body.oftnly-dashboard-body .user-info-list div:last-child {
    border-bottom: 0;
}

body.oftnly-dashboard-body .user-info-list dt {
    color: var(--oftnly-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

body.oftnly-dashboard-body .user-info-list dd {
    margin: 0;
    color: var(--oftnly-text);
    font-size: 14px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

body.oftnly-dashboard-body .page-item .page-link {
    min-width: 38px;
    min-height: 38px;
    border-color: rgba(221, 212, 200, 0.9);
    background: rgba(255, 255, 255, 0.68);
    color: var(--oftnly-muted);
    display: grid;
    place-items: center;
    font-weight: 800;
}

body.oftnly-dashboard-body .page-item.active .page-link {
    background: var(--oftnly-text);
    border-color: var(--oftnly-text);
    color: #fffaf2;
}

body.oftnly-dashboard-body .page-item.disabled .page-link {
    background: rgba(255, 255, 255, 0.4);
    color: rgba(138, 129, 116, 0.58);
}

body.oftnly-dashboard-body .sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1030;
    background: rgba(46, 42, 36, 0.36);
    backdrop-filter: blur(3px);
}

@media (max-width: 1199.98px) {
    body.oftnly-dashboard-body {
        --sidebar-width: 270px;
    }
}

@media (max-width: 991.98px) {
    body.oftnly-dashboard-body .oftnly-sidebar {
        transform: translateX(-100%);
    }

    body.oftnly-dashboard-body.sidebar-open .oftnly-sidebar {
        transform: translateX(0);
    }

    body.oftnly-dashboard-body.sidebar-open .sidebar-backdrop {
        display: block;
    }

    body.oftnly-dashboard-body .sidebar-close,
    body.oftnly-dashboard-body .mobile-sidebar-toggle {
        display: inline-grid;
        place-items: center;
    }

    body.oftnly-dashboard-body .main-area {
        margin-left: 0;
    }

    body.oftnly-dashboard-body .top-navbar {
        padding-inline: 18px;
    }

    body.oftnly-dashboard-body .search-box {
        width: min(360px, 42vw);
    }
}

@media (max-width: 767.98px) {
    body.oftnly-dashboard-body .top-navbar {
        height: auto;
    }

    body.oftnly-dashboard-body .navbar-inner {
        flex-wrap: wrap;
    }

    body.oftnly-dashboard-body .search-box {
        width: 100%;
        order: 3;
        margin-top: 12px;
    }

    body.oftnly-dashboard-body .content-wrap {
        padding: 26px 18px 34px;
    }
}

@media (max-width: 575.98px) {
    body.oftnly-dashboard-body .oftnly-sidebar {
        width: min(292px, 88vw);
        padding: 18px;
    }

    body.oftnly-dashboard-body .profile-card {
        padding: 15px;
    }

    body.oftnly-dashboard-body .nav-home-link,
    body.oftnly-dashboard-body .nav-icon-btn {
        width: 44px;
        height: 44px;
        border-radius: 15px;
    }

    body.oftnly-dashboard-body .navbar-user-btn {
        max-width: 150px;
    }

    body.oftnly-dashboard-body .dashboard-card,
    body.oftnly-dashboard-body .stat-card {
        border-radius: 22px;
    }

    body.oftnly-dashboard-body .diary-filter-field,
    body.oftnly-dashboard-body .diary-reset-btn,
    body.oftnly-dashboard-body .diary-export-icon-btn,
    body.oftnly-dashboard-body .dataTables_filter input {
        width: 100%;
    }

    body.oftnly-dashboard-body .diary-datatable-top,
    body.oftnly-dashboard-body .diary-datatable-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    body.oftnly-dashboard-body .diary-table-card {
        padding: 18px;
    }

    body.oftnly-dashboard-body .diary-table-heading {
        align-items: stretch;
        flex-direction: column;
    }

    body.oftnly-dashboard-body .diary-filter-bar {
        padding: 14px;
    }
}

@media (max-width: 767.98px) {
    body.oftnly-dashboard-body .profile-page-grid {
        grid-template-columns: 1fr;
    }

    body.oftnly-dashboard-body .profile-account-layout {
        grid-template-columns: 1fr;
    }

    body.oftnly-dashboard-body .profile-picture-card {
        position: static;
    }

    body.oftnly-dashboard-body .profile-password-card {
        grid-column: auto;
    }

    body.oftnly-dashboard-body .profile-form-grid {
        grid-template-columns: 1fr;
    }

    body.oftnly-dashboard-body .profile-form-actions,
    body.oftnly-dashboard-body .profile-form-actions .diary-primary-btn,
    body.oftnly-dashboard-body .profile-form-actions .diary-secondary-btn {
        width: 100%;
    }

    body.oftnly-dashboard-body .user-view-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    body.oftnly-dashboard-body .user-view-grid {
        grid-template-columns: 1fr;
    }

    body.oftnly-dashboard-body .user-info-list div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    body.oftnly-dashboard-body .diary-table {
        display: block;
    }

    body.oftnly-dashboard-body .diary-table thead {
        display: none;
    }

    body.oftnly-dashboard-body .diary-table tbody,
    body.oftnly-dashboard-body .diary-table tr,
    body.oftnly-dashboard-body .diary-table td {
        display: block;
        width: 100%;
    }

    body.oftnly-dashboard-body .diary-table tbody tr {
        margin-bottom: 12px;
        padding: 10px;
        border: 1px solid rgba(221, 212, 200, 0.72);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.64);
    }

    body.oftnly-dashboard-body .diary-table tbody td {
        min-width: 0 !important;
        width: 100% !important;
        padding: 10px 8px;
        border: 0;
        text-align: right !important;
        white-space: normal !important;
    }

    body.oftnly-dashboard-body .diary-table tbody td::before {
        content: attr(data-label);
        float: left;
        margin-right: 14px;
        color: var(--oftnly-muted);
        font-size: 11px;
        font-weight: 900;
        text-transform: uppercase;
    }

    body.oftnly-dashboard-body .diary-table tbody td:last-child {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: right !important;
    }

    body.oftnly-dashboard-body .diary-table tbody td:last-child::before {
        float: none;
    }

    body.oftnly-dashboard-body .diary-title-cell {
        max-width: none;
        margin-left: auto;
    }

    body.oftnly-dashboard-body .diary-preview-actions {
        justify-content: flex-start;
        width: 100%;
    }

    body.oftnly-dashboard-body .diary-preview-actions .quick-action {
        width: 100%;
    }

    body.oftnly-dashboard-body .diary-preview-banner,
    body.oftnly-dashboard-body .diary-preview-empty-banner {
        aspect-ratio: 4 / 3;
        min-height: 230px;
    }

    body.oftnly-dashboard-body .diary-preview-intro,
    body.oftnly-dashboard-body .diary-preview-content {
        padding-left: 22px;
        padding-right: 22px;
    }

    body.oftnly-dashboard-body .diary-share-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.oftnly-dashboard-body .diary-share-copy {
        grid-template-columns: 1fr;
    }

    body.oftnly-dashboard-body .category-form-grid,
    body.oftnly-dashboard-body .category-view-layout {
        grid-template-columns: 1fr;
    }

    body.oftnly-dashboard-body .category-picture-preview,
    body.oftnly-dashboard-body .category-view-picture {
        min-height: 190px;
    }
}
