/* ==========================================================================
   Delebanken Frontend Styles
   ========================================================================== */

/* ---------- Base Reset ---------- */
.delebanken-notice,
.delebanken-btn,
.delebanken-form input,
.delebanken-form textarea,
.delebanken-form select,
.delebanken-contact-form input,
.delebanken-contact-form textarea,
.delebanken-search-input,
.delebanken-kategori-select {
    box-sizing: border-box;
    font-family: inherit;
}
.post.ting, .delebanken-my-header {
    margin-top: 50px;
}
/* ---------- Notices ---------- */
.delebanken-notice {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 16px;
    line-height: 1.5;
}
.delebanken-notice-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.delebanken-notice-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.delebanken-notice-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.delebanken-notice a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

/* ---------- Buttons ---------- */
.delebanken-btn {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.4;
    text-align: center;
    letter-spacing: 0.01em;
}
.delebanken-btn-primary {
    background-color: var(--delebanken-primary, #559cb4);
    color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.delebanken-btn-primary:hover {
    filter: brightness(1.08);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    color: #fff;
    text-decoration: none;
}
.delebanken-btn-danger {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.delebanken-btn-danger:hover {
    background: #dc2626;
    color: #fff;
}
.delebanken-btn-small {
    padding: 7px 16px;
    font-size: 15px;
    border-radius: 6px;
}
.delebanken-btn-outline {
    background: transparent;
    border: 1.5px solid #d1d5db;
    color: #374151;
}
.delebanken-btn-outline:hover {
    border-color: var(--delebanken-primary, #559cb4);
    color: var(--delebanken-primary, #559cb4);
    background: rgba(85,156,180,0.04);
}

/* ---------- Filter Bar ---------- */
.delebanken-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 2rem;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.delebanken-filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
}
.delebanken-search-input {
    padding: 11px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    min-width: 200px;
    flex: 1;
    background: #fff;
    transition: border-color 0.2s;
    height: 46px;
    line-height: 1.4;
}
.delebanken-search-input:focus {
    outline: none;
    border-color: var(--delebanken-primary, #559cb4);
    box-shadow: 0 0 0 3px rgba(85,156,180,0.12);
}
.delebanken-kategori-select {
    padding: 11px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    min-width: 160px;
    height: 46px;
    line-height: 1.4;
    cursor: pointer;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.delebanken-kategori-select:focus {
    outline: none;
    border-color: var(--delebanken-primary, #559cb4);
    box-shadow: 0 0 0 3px rgba(85,156,180,0.12);
}
.delebanken-create-link {
    white-space: nowrap;
}

/* ---------- View toggle (grid/list) ---------- */
.delebanken-view-toggle {
    display: inline-flex;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.delebanken-view-btn {
    background: transparent;
    border: 0;
    padding: 8px 10px;
    cursor: pointer;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}
.delebanken-view-btn + .delebanken-view-btn {
    border-left: 1px solid #e2e8f0;
}
.delebanken-view-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
}
.delebanken-view-btn.is-active {
    background: #1e293b;
    color: #fff;
}

/* ---------- Archive List ---------- */
.delebanken-list {
    display: grid;
    gap: 1.5rem;
    padding-bottom: 3rem;
}
.delebanken-list[data-view="grid"] {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.delebanken-list[data-view="grid"] .delebanken-item-grid {
    flex-direction: column;
}
.delebanken-list[data-view="grid"] .delebanken-item-images {
    flex: none;
    aspect-ratio: 4 / 3;
    max-height: none;
}
.delebanken-list[data-view="grid"] .delebanken-item-details {
    padding: 18px 20px;
}
.delebanken-list[data-view="grid"] .delebanken-item-details h3 {
    font-size: 17px;
}
.delebanken-list[data-view="grid"] .delebanken-betingelser {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.delebanken-list[data-view="grid"] .delebanken-betingelser.is-expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}
.delebanken-read-more {
    background: none;
    border: 0;
    padding: 0;
    margin: -4px 0 8px;
    color: #1e293b;
    font-size: 0.9em;
    text-decoration: underline;
    cursor: pointer;
}
.delebanken-read-more:hover {
    color: #0f172a;
}
.delebanken-adresse {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 10px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.4;
}
.delebanken-adresse svg {
    flex-shrink: 0;
    color: #94a3b8;
}
.delebanken-pagination {
    margin: 1rem 0 3rem;
    display: flex;
    justify-content: center;
}
.delebanken-pagination ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
}
.delebanken-pagination a,
.delebanken-pagination span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #1e293b;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.15s ease;
}
.delebanken-pagination a:hover {
    background: #f1f5f9;
}
.delebanken-pagination .current {
    background: var(--delebanken-primary, #559cb4);
    color: #fff;
    border-color: var(--delebanken-primary, #559cb4);
}
.delebanken-pagination .dots {
    border: 0;
    background: transparent;
}
.delebanken-back-link {
    margin-top: 1.5rem;
}
.delebanken-back-link a {
    color: #64748b;
    text-decoration: none;
}
.delebanken-back-link a:hover {
    color: #1e293b;
    text-decoration: underline;
}
.delebanken-item {
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
    background: #fff;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.delebanken-item a.delebanken-edit-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #1e293b;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
}
.delebanken-item a.delebanken-edit-icon:hover {
    background: #fff;
    color: #0f172a;
    transform: scale(1.08);
}
.delebanken-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
    transform: translateY(-2px);
}
.delebanken-item-grid {
    display: flex;
    gap: 0;
    align-items: stretch;
}
.delebanken-item-images {
    flex: 0 0 380px;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
}
.delebanken-item-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.delebanken-item-images img:hover {
    transform: scale(1.03);
}
.delebanken-item-details {
    flex: 1;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
}
.delebanken-item-details h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}
.delebanken-betingelser {
    margin-bottom: 10px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
}
.delebanken-pris {
    margin-bottom: 16px;
    font-size: 16px;
    color: #334155;
}
.delebanken-pris strong {
    color: #1e293b;
}
.delebanken-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: #94a3b8;
    font-size: 18px;
}

/* ---------- Carousel ---------- */
.delebanken-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
}
.delebanken-carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}
.delebanken-carousel-prev,
.delebanken-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.92);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    color: #334155;
}
.delebanken-carousel-prev:hover,
.delebanken-carousel-next:hover {
    background: #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,0.18);
    transform: translateY(-50%) scale(1.08);
}
.delebanken-carousel-prev { left: 10px; }
.delebanken-carousel-next { right: 10px; }
.delebanken-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 2;
}
.delebanken-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: all 0.25s;
    border: 1.5px solid rgba(255,255,255,0.6);
}
.delebanken-dot.active {
    background: #fff;
    transform: scale(1.2);
    border-color: #fff;
}

/* ---------- Lightbox ---------- */
.delebanken-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: zoom-out;
    animation: delebanken-fade-in 0.25s ease;
}
.delebanken-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
.delebanken-lightbox img {
    max-width: 92vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    cursor: default;
    animation: delebanken-zoom-in 0.3s ease;
}
.delebanken-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}
.delebanken-lightbox-close:hover {
    background: rgba(255,255,255,0.3);
}
.delebanken-lightbox-prev,
.delebanken-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}
.delebanken-lightbox-prev { left: 20px; }
.delebanken-lightbox-next { right: 20px; }
.delebanken-lightbox-prev:hover,
.delebanken-lightbox-next:hover {
    background: rgba(255,255,255,0.3);
}
.delebanken-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
}

@keyframes delebanken-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes delebanken-zoom-in {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ---------- Contact Form (inline) ---------- */
.delebanken-contact-toggle {
    background: transparent;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    padding: 9px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
    display: inline-block;
    color: #374151;
}
.delebanken-contact-toggle:hover {
    background-color: var(--delebanken-primary, #559cb4);
    border-color: var(--delebanken-primary, #559cb4);
    color: #fff;
}
.delebanken-contact-form {
    margin-top: 16px;
    padding: 18px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}
.delebanken-contact-form .delebanken-field {
    margin-bottom: 12px;
}
.delebanken-contact-form input,
.delebanken-contact-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    transition: border-color 0.2s;
    line-height: 1.5;
    font-family: inherit;
}
.delebanken-contact-form input:focus,
.delebanken-contact-form textarea:focus {
    outline: none;
    border-color: var(--delebanken-primary, #559cb4);
    box-shadow: 0 0 0 3px rgba(85,156,180,0.12);
}
.delebanken-contact-result {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
}
.delebanken-contact-result.success {
    color: #065f46;
    background: #ecfdf5;
}
.delebanken-contact-result.error {
    color: #991b1b;
    background: #fef2f2;
}

/* ---------- Forms ---------- */
.delebanken-form {
    max-width: 620px;
}
.delebanken-form .delebanken-field {
    margin-bottom: 1.5rem;
}
.delebanken-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 16px;
    color: #1e293b;
}
.delebanken-form .required {
    color: #ef4444;
}
.delebanken-form input[type="text"],
.delebanken-form input[type="email"],
.delebanken-form input[type="tel"],
.delebanken-form textarea,
.delebanken-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    line-height: 1.5;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
    font-family: inherit;
}
.delebanken-form input[type="text"]:focus,
.delebanken-form input[type="email"]:focus,
.delebanken-form input[type="tel"]:focus,
.delebanken-form textarea:focus,
.delebanken-form select:focus {
    outline: none;
    border-color: var(--delebanken-primary, #559cb4);
    box-shadow: 0 0 0 3px rgba(85,156,180,0.12);
}
.delebanken-form select {
    height: 48px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.delebanken-form textarea {
    resize: vertical;
    min-height: 100px;
}
.delebanken-form input[readonly] {
    background: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
}
.delebanken-form hr {
    margin: 2rem 0;
    border: none;
    border-top: 1px solid #e2e8f0;
}
.delebanken-checkbox label {
    font-weight: normal;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 15px;
    color: #475569;
    line-height: 1.5;
}
.delebanken-checkbox input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--delebanken-primary, #559cb4);
}

/* ---------- Dropzone ---------- */
.delebanken-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
    background: #fafbfc;
}
.delebanken-dropzone:hover,
.delebanken-dropzone-active {
    border-color: var(--delebanken-primary, #559cb4);
    background: rgba(85,156,180,0.04);
}
.delebanken-dropzone-input {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: -1;
}
.delebanken-dropzone-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 16px;
}
.delebanken-dropzone-icon {
    font-size: 42px;
    line-height: 1;
    color: #cbd5e1;
    font-weight: 300;
}
.delebanken-dropzone-preview {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.delebanken-preview-item {
    position: relative;
    width: 110px;
    text-align: center;
}
.delebanken-preview-item img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    display: block;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.delebanken-preview-remove {
    position: absolute;
    top: -7px;
    right: -7px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    border: 2.5px solid #fff;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 6px rgba(239,68,68,0.3);
    transition: background 0.15s;
}
.delebanken-preview-remove:hover {
    background: #dc2626;
}
.delebanken-preview-name {
    display: block;
    font-size: 13px;
    color: #94a3b8;
    margin-top: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.delebanken-preview-add {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fafbfc;
}
.delebanken-preview-add:hover {
    border-color: var(--delebanken-primary, #559cb4);
    background: rgba(85,156,180,0.04);
}
.delebanken-preview-add .delebanken-dropzone-icon {
    font-size: 32px;
    color: #94a3b8;
}

/* ---------- Type Buttons ---------- */
.delebanken-type-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.delebanken-type-option {
    display: block;
    cursor: pointer;
    margin: 0;
}
.delebanken-type-option input[type="radio"] {
    display: none;
}
.delebanken-type-label {
    display: inline-block;
    padding: 9px 22px;
    border-radius: 24px;
    border: 2px solid #e2e8f0;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    color: #64748b;
    background: #fff;
}
.delebanken-type-option input:checked + .delebanken-type-gives_vaek {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
    box-shadow: 0 2px 8px rgba(34,197,94,0.3);
}
.delebanken-type-option input:checked + .delebanken-type-udlejes {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
    box-shadow: 0 2px 8px rgba(59,130,246,0.3);
}
.delebanken-type-option input:checked + .delebanken-type-saelges {
    background: #f97316;
    border-color: #f97316;
    color: #fff;
    box-shadow: 0 2px 8px rgba(249,115,22,0.3);
}
.delebanken-type-label:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

/* ---------- Archive Badge ---------- */
.delebanken-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 16px;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

/* ---------- Form Spacer ---------- */
.delebanken-form-spacer {
    height: 4rem;
}

/* ---------- Edit Images ---------- */
.delebanken-edit-images {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.delebanken-edit-image {
    text-align: center;
    position: relative;
    cursor: grab;
    user-select: none;
}
.delebanken-edit-image.is-dragging {
    opacity: 0.4;
    cursor: grabbing;
}
.delebanken-edit-image.is-drop-target img {
    outline: 2px solid var(--delebanken-primary, #559cb4);
    outline-offset: 2px;
}
.delebanken-drag-handle {
    position: absolute;
    top: 4px;
    left: 4px;
    background: rgba(255, 255, 255, 0.92);
    color: #64748b;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1;
    pointer-events: none;
}
.delebanken-edit-image img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    display: block;
    margin-bottom: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.delebanken-edit-image label {
    font-size: 14px;
    font-weight: 500;
    color: #ef4444;
    cursor: pointer;
}
.delebanken-hint {
    font-weight: 400;
    color: #64748b;
    font-size: 0.9em;
}

/* ---------- Delete Form ---------- */
.delebanken-delete-form {
    margin-top: 2rem;
    padding-top: 2rem;
    padding-bottom: 3rem;
    border-top: 1px solid #e2e8f0;
}

/* ---------- My Items ---------- */
.delebanken-my-header {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.delebanken-my-header p {
    margin: 0;
    flex: 1;
    font-size: 16px;
    color: #475569;
}
.delebanken-my-list {
    display: grid;
    gap: 12px;
    padding-bottom: 3rem;
}
.delebanken-my-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 16px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    transition: all 0.2s ease;
}
.delebanken-my-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}
.delebanken-my-item.delebanken-draft {
    opacity: 0.6;
    border-style: dashed;
}
.delebanken-my-item-thumb {
    flex: 0 0 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
}
.delebanken-my-item-thumb img {
    width: 72px;
    height: 72px;
    object-fit: cover;
}
.delebanken-my-item-info {
    flex: 1;
}
.delebanken-my-item-info h4 {
    margin: 0 0 6px 0;
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
}
.delebanken-status {
    display: inline-block;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    margin-right: 8px;
    letter-spacing: 0.02em;
}
.delebanken-status-publish {
    background: #ecfdf5;
    color: #065f46;
}
.delebanken-status-draft {
    background: #fffbeb;
    color: #92400e;
}
.delebanken-meta {
    font-size: 14px;
    color: #94a3b8;
    margin-right: 12px;
}
.delebanken-my-item-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

/* ---------- Login Form ---------- */
.delebanken-login-form {
    max-width: 420px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.delebanken-login-form p {
    margin-top: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.5;
}
.delebanken-login-form input[type="text"] {
    font-size: 28px;
    text-align: center;
    letter-spacing: 0.4em;
    padding: 14px 12px;
    font-weight: 600;
    color: #1e293b;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .delebanken-view-toggle {
        display: none;
    }
    .delebanken-item-grid {
        flex-direction: column;
    }
    .delebanken-item-images {
        flex: none;
        max-height: 280px;
    }
    .delebanken-item-details {
        padding: 20px;
    }
    .delebanken-carousel {
        min-height: 220px;
    }
    .delebanken-my-item {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }
    .delebanken-my-item-actions {
        justify-content: center;
    }
    .delebanken-filter-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 16px;
    }
    .delebanken-filter-row {
        flex-direction: column;
    }
    .delebanken-search-input,
    .delebanken-kategori-select {
        width: 100%;
        min-width: 0;
    }
    .delebanken-lightbox-prev,
    .delebanken-lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    .delebanken-lightbox-prev { left: 10px; }
    .delebanken-lightbox-next { right: 10px; }
}

@media (max-width: 500px) {
    .delebanken-item-details {
        padding: 16px;
    }
    .delebanken-item-images {
        max-height: 220px;
    }
    .delebanken-login-form {
        padding: 1.5rem;
        margin: 1rem auto;
    }
}
