/* Roboto Font for Logo */
.bungee-regular {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: normal;
}

body { 
    font-family: "Roboto", sans-serif; 
    margin:0; 
    padding:0; 
    background: #edf2f7; 
}
header { 
    background: #edf2f7; 
    color: #333; 
    padding: 30px 0px 60px 0px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
footer { 
    background: #fff; 
    color: #333; 
    padding: 40px 0px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-top: 1px solid #ebe6e7;
    margin-top: 40px;
}
header h1 { 
    margin: 0; 
    font-size: 1.6em;
    font-family: "Bungee", sans-serif;
    font-weight: 400;
    font-style: normal;
}
header form label { 
    color: #333; 
    font-weight: normal; 
    margin: 0; 
}
.container { 
    display: flex; 
    flex-direction: column; /* gör sektionerna vertikala */
    max-width: 1600px;
    margin: 0 auto;
    padding: 0px 60px;
}
.section { 
    width: 100%;
}
.section-map { 
    width: calc(100% - 60px);  
    padding: 30px;
    background: #ffffff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top: 1px dashed #ebe6e7;
    border-right: 1px solid #ebe6e7;
    border-bottom: 1px solid #ebe6e7;
    border-left: 1px solid #ebe6e7;
    margin-bottom: 70px;
    position: relative;
}
.section-map.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    min-width: 100vw;
    height: 100vh;
    min-height: 100vh;
    z-index: 9999;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    border: none;
    padding: 0 !important;
}
.map-exit-fullscreen-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10001;
    background: #fff;
    color: #345a8a;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.section-map.fullscreen .map-exit-fullscreen-btn {
    display: flex;
}
#map { 
    width: 100%; 
    height: 500px; 
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
#map.fullscreen {
    width: 100vw !important;
    min-width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    border-radius: 0;
    border: none;
}
body.map-fullscreen {
    overflow: hidden;
}

/* Popup som liknar karusellkort */
.leaflet-popup-content {
    margin: 0;
    padding: 14px;
}

.leaflet-popup-content p{
    margin: 0.3em 0 !important;
}

.leaflet-popup-content h3{
    margin: 0.3em 0 !important;
}

.leaflet-popup-content .popup-card.carousel-card {
    max-width: 340px;
    box-shadow: none;
}
.leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 8px;
}
.leaflet-popup-content .carousel-card {
    border: none;
    margin: 0;
}
.leaflet-popup-tip {
    background: #fff;
}
.filters {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-top: 1px solid #ebe6e7;
    border-left: 1px solid #ebe6e7;
    border-right: 1px solid #ebe6e7;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 18px 32px;
    margin: 0 auto 0 auto;
    min-height: 70px;
    width: calc(100% - 64px);
    position: relative;
}
.filters-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a3a5d;
    margin-bottom: 6px;
    text-align: left;
    width: 100%;
}
.filters .fullscreen-btn {
    margin-left: auto;
    background: #fff;
    color: #6c7a89;
    border: 1px solid #e1e5ea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
}
.filters .fullscreen-btn:hover {
    background: #f8f9fa;
    color: #345a8a;
}

.filters .home-location-btn {
    background: #fff;
    color: #6c7a89;
    border: 1px solid #e1e5ea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
}
.filters .home-location-btn:hover {
    background: #f8f9fa;
    color: #345a8a;
}
.filters label {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    gap: 6px;
}
.filters select {
    padding: 7px 18px;
    border-radius: 6px;
    border: 1px solid #cfd8dc;
    background: #f7fafc;
    font-size: 1rem;
    color: #222;
    transition: border 0.2s;
}
.filters select:focus {
    border: 1.5px solid #007bff;
    outline: none;
}
@media (max-width: 1150px) {
    .filters {
        flex-direction: column;
        gap: 16px;
        padding: 14px 8px;
    }
    .filters label {
        font-size: 0.98rem;
    }
}
/* --- Karusell --- */
.carousel-container {
    width: 100%;
    margin: 20px auto 30px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header login button */
.header-button {
    padding: 9px 20px;
    font-size: 1rem;
    border-radius: 20px;
    border: 1px solid #ebe6e7;
    background: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a3a5d;
    transition: background 180ms ease, transform 120ms ease, box-shadow 160ms ease;
}
.header-button:hover,
.header-button:focus {
    color: #fff;
    background-color: #345a8a;
}

.carousel-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    width: 100%;
}
.carousel-card {
    flex: 0 0 calc(33.333% - 14px);
    background: #fff;
    padding: 24px; /* Mer padding */
    border-radius: 8px;
    border: 1px solid #ebe6e7;
    box-sizing: border-box;
    margin-bottom: 24px; /* Mer luft mellan kort */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Premium CTA Card (mobil) */
@media (max-width: 1150px) {
    .premium-cta-card {
        background: linear-gradient(135deg, #345a8a 0%, #4a7ba7 100%) !important;
        border: 1px solid #ebe6e7;
        color: #fff !important;
        padding: 24px 20px;
        text-align: left;
    }
    
    .premium-cta-card-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .premium-cta-card-icon {
        width: 60px;
        height: 60px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 8px;
    }
    
    .premium-cta-card-icon i {
        font-size: 2rem;
        color: #fff !important;
    }
    
    .premium-cta-card h3 {
        color: #fff !important;
        font-size: 1.3rem;
        font-weight: 700;
        margin: 0 0 12px 0;
        line-height: 1.3;
    }
    
    .premium-cta-card-text {
        color: rgba(255, 255, 255, 0.95) !important;
        font-size: 0.95rem;
        line-height: 1.5;
        margin: 0 0 16px 0;
    }
    
    .premium-cta-card-features {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 16px;
        width: 100%;
    }
    
    .premium-cta-feature-item {
        display: flex;
        align-items: center;
        gap: 10px;
        color: rgba(255, 255, 255, 0.95) !important;
        font-size: 0.9rem;
    }
    
    .premium-cta-feature-item i {
        color: #fff !important;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.2);
        padding: 4px;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .premium-cta-feature-item span {
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.95) !important;
    }
    
    .premium-cta-card-price {
        display: flex;
        align-items: baseline;
        gap: 6px;
        margin: 8px 0;
    }
    
    .premium-cta-price-amount {
        font-size: 2rem;
        font-weight: 700;
        color: #fff !important;
    }
    
    .premium-cta-price-period {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9) !important;
        font-weight: 500;
    }
    
    .premium-cta-card-btn {
        background: #fff;
        color: #345a8a;
        border: none;
        padding: 14px 28px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        margin-top: 8px;
        align-self: flex-start;
    }
    
    .premium-cta-card-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        background: #f8f9fa;
    }
    
    .premium-cta-card-btn:active {
        transform: translateY(0);
    }
    
    .premium-cta-card-btn i {
        font-size: 1.1rem;
    }
}

/* Desktop - dölj Premium CTA-kort */
@media (min-width: 1151px) {
    .premium-cta-card {
        display: none !important;
    }
}

.carousel-card {
    gap: 12px; /* Spacing mellan element inuti kort */
}
@media (max-width: 1000px) {
    .carousel-card {
        flex-basis: calc(50% - 12px);
        min-width: 210px;
    }
}
@media (max-width: 1150px) {
    .carousel-card {
        flex-basis: 100%;
    }
}
.carousel-load-more {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0 0 0;
}
.carousel-load-more-btn {
    background: #fff;
    border: 1.5px solid #ebe6e7;
    border-radius: 50%;
    padding: 8px 12px;
    font-size: 2rem;
    color: #1a3a5d;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s;
}
.carousel-load-more-btn:hover {
    background: #e3f0ff;
    color: #0d223a;
}
.carousel-card h3 {
    margin: 10px 0;
    font-size: 1.1rem;
    color: #333;
}
.carousel-card .date {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}
.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.tag {
    display: inline-block;
    margin-top: 0;
    margin-left: 12px;
    padding: 5px 14px;
    background: #ffb347;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #333;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(255,179,71,0.12);
}
.carousel-card .location {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #555;
}
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 32px auto 122px auto;
    max-width: 700px;
}
.hero h2 {
    font-size: 2.4rem; /* 20% större */
    font-weight: 700;
    color: #1a3a5d;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.3;
}
.hero p {
    font-size: 1.15rem;
    color: #3a4a5d;
    text-align: center;
    margin: 0;
    max-width: 600px;
}
@media (max-width: 1150px) {
    .hero {
        padding: 22px 6px 18px 6px;
        margin: 18px 0 18px 0;
    }
    .hero h2 {
        font-size: 1.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
}
.crowns-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 8px;
    margin-top: 18px;
}
.carousel-card .card-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

.read-more {
    color: #1a3a5d;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}
.share-btn {
    color: #007bff;
    font-size: 1rem;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.carousel-p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.5em;
    word-break: break-word;
    margin-top: 0;
    padding-top: 0;
}

.carousel-card h3 {
    margin-top: 10px;
    padding-top: 0;
}
header button {
    transition: background 0.2s, color 0.2s;
}
.address-search-container {
    width: 100%;
    max-width: 700px;
    margin: 24px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.address-search-form {
    width: 100%;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 32px;
    border: 1px solid #ebe6e7;
    padding: 0 8px 0 18px;
}
.address-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.15rem;
    padding: 16px 0;
    background: transparent;
    color: #222;
}
.address-search-input::placeholder {
    color: #b0b7c3;
    font-size: 1.15rem;
}
.address-search-btn {
    background: #345a8a;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 8px;
    transition: background 0.2s;
}
.address-search-btn:hover {
    background: #1a3a5d;
}

/* Modal overlay and dialog */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 34, 58, 0.55);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 10000;
    overflow-y: auto;
    padding: 20px 0;
}
.modal-overlay.show {
    display: flex;
}
.modal-dialog {
    max-width: 500px;
    width: 100%;
    margin: 60px auto;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(52,90,138,0.18);
    display: flex;
    flex-direction: column;
    gap: 0;
    border: none;
    padding: 36px;
    min-height: fit-content;
    position: relative;
}

/* Specifik bredd för meddelande-modal */
#messagesModal .modal-dialog {
    max-width: 800px;
}

/* Specifik bredd för medlemskap-modal */
#membershipModal .modal-dialog {
    max-width: 750px;
}
.modal-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: none;
    padding: 0;
    margin-bottom: 0;
    position: relative;
}
.modal-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 10px 0 30px 0;
    color: #1a3a5d;
    letter-spacing: 0.5px;
}
.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #fff;
    color: #345a8a;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(52,90,138,0.10);
    transition: all 0.2s ease;
    z-index: 1;
}

.modal-close:hover {
    background: #f8f9fa;
    color: #dc3545;
    transform: scale(1.05);
}
.modal-body {
    padding: 0;
}

/* Händelsemodal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow-y: auto;
    align-items: flex-start;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: #fff;
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    position: relative;
    min-height: fit-content;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

/* Desktop-specifik styling för händelsemodal */
@media (min-width: 768px) {
    .modal {
        align-items: center;
    }
    
    .modal-content {
        margin: 0;
        max-height: 90vh;
    }
    
    /* Om modalen är högre än 100vh, använd flex-start istället för center */
    .modal-content.tall-modal {
        margin: 50px auto;
        max-height: calc(100vh - 100px);
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.event-details {
    padding: 20px;
}

.event-details h2 {
    margin-top: 0;
    color: #333;
}

.modal-date, .modal-type, .modal-location {
    color: #666;
    margin: 5px 0;
}

.modal-summary {
    margin: 15px 0;
    line-height: 1.5;
}

.modal-extended {
    margin: 15px 0;
    line-height: 1.5;
    white-space: pre-wrap;
}

.modal-actions {
    margin: 20px 0;
    display: flex;
    gap: 10px;
}

.comments-section {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.comments-section h3 {
    margin-bottom: 20px;
    color: #333;
}

.comments-list {
    margin-bottom: 20px;
}

.comment {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.comment-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.comment-user {
    font-weight: bold;
    color: #333;
}

.comment-date {
    color: #666;
    font-size: 0.9em;
}

/* Comment Avatar Styles */
.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #345a8a;
    flex-shrink: 0;
}

.comment-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.comment-avatar-initials {
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.comment-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #345a8a;
    flex-shrink: 0;
}

.comment-avatar-img-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.comment-avatar-initials-small {
    color: white !important;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.comment-text {
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.comment-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.reply-btn {
    background: none;
    border: none;
    color: #1A9FDA;
    cursor: pointer;
    font-size: 0.9em;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.reply-btn:hover {
    background-color: #f0f8ff;
}

.reply-btn i {
    margin-right: 5px;
}

.reply-form-container {
    margin-top: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.reply-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reply-form textarea {
    width: 100%;
    min-height: 60px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
    font-family: inherit;
    font-size: 0.95em;
    box-sizing: border-box;
}

.reply-form-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.submit-reply {
    padding: 6px 16px;
    background-color: #1A9FDA;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.3s;
    font-size: 0.9em;
}

.submit-reply:hover {
    background-color: #0056b3;
}

.cancel-reply {
    padding: 6px 16px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 0.9em;
}

.cancel-reply:hover {
    background-color: #5a6268;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-form textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
}

.submit-comment {
    align-self: flex-end;
    padding: 8px 20px;
    background-color: #1A9FDA;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.submit-comment:hover {
    background-color: #0056b3;
}

.submit-comment i {
    font-size: 0.9em;
}

#loginForm {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 0;
}
.form-field label {
    font-weight: 600;
    font-size: 1.08rem;
    color: #1a3a5d;
    margin-bottom: 2px;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="password"],
.form-field select {
    padding: 14px 18px;
    border-radius: 14px;
    border: 1.5px solid #e1e5ea;
    font-size: 1.15rem;
    outline: none;
    transition: all 0.2s ease;
    background: #fff;
    color: #222;
    width: 100%;
    box-sizing: border-box;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="password"]:focus,
.form-field select:focus {
    border-color: #345a8a;
    box-shadow: 0 2px 8px rgba(52,90,138,0.08);
}

.form-field input[type="password"] {
    padding-right: 54px;
}
.form-field input[type="password"]::placeholder {
    color: #b0b7c3;
    font-size: 1.15rem;
}
#togglePassword {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #b0b7c3;
    font-size: 1.3rem;
    z-index: 2;
}
.remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.08rem;
    margin: 18px 0 0 0;
}
.remember-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 400;
    font-size: 1.08rem;
}
.remember-row input[type="checkbox"] {
    accent-color: #345a8a;
    width: 20px;
    height: 20px;
}
.remember-row a {
    color: #345a8a;
    text-decoration: none;
    border-bottom: 1px solid #e1e5ea;
    font-size: 1.08rem;
    margin-left: 8px;
}
.btn-primary {
    background: #345a8a;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 28px;
    padding: 14px 0;
    margin-top: 24px;
    cursor: pointer;
    box-shadow: none;
    width: 100%;
    letter-spacing: 0.5px;
}
.btn-primary:hover { background: #1a3a5d; box-shadow: none; }
.register-link {
    text-align: center;
    color: #6c7a89;
    font-size: 1.08rem;
    margin-top: 18px;
}
.register-link a {
    color: #345a8a;
    text-decoration: none;
    border-bottom: 1px solid #e1e5ea;
    font-weight: 500;
    margin-left: 4px;
}

#registerForm {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
}



/* Notifikationssystem */
.notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

/* Dölj notifikationer på mobil */
@media (max-width: 1150px) {
    .notification-container {
        display: none !important;
    }
    
    /* Dölj bara shield-ikonen, behåll POLISRONDEN texten */
    .fa-shield-halved {
        display: none !important;
    }
    
    /* Justera POLISRONDEN textens utseende på mobil */
    span[style*="letter-spacing: 1.5px"],
    span[style*="font-weight: bold; letter-spacing: 1.5px"] {
        font-weight: 900 !important;
        letter-spacing: 0.5px !important;
    }
}

.notification {
    background: #fff;
    border: 1px solid #ebe6e7;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.fade-out {
    transform: translateX(400px);
    opacity: 0;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.notification-title {
    font-weight: 600;
    color: #1a3a5d;
    font-size: 1rem;
    margin: 0;
}

.notification-time {
    font-size: 0.8rem;
    color: #888;
    margin-left: 10px;
}

.notification-type {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(90deg, #ffb347 0%, #ffcc80 100%);
    border-radius: 12px;
    font-size: 0.75rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.notification-location {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.notification-summary {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.notification-close {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px;
}

.notification-close:hover {
    color: #333;
}

/* Animations för notifikationer */
@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.leaflet-bottom{
    display: none !important;
}



/* Admin styles */
.admin-wrap {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.admin-header {
    margin-bottom: 30px;
}

.admin-header h1 {
    color: #333;
    margin-bottom: 10px;
}

.filter-controls {
    margin: 20px 0;
}

.filter-controls select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-left: 10px;
}

.events-table-container {
    overflow-x: auto;
}

.events-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.events-table th,
.events-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.events-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.events-table tr:hover {
    background-color: #f5f5f5;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    margin-right: 5px;
}

.unverified {
    background-color: #ffd7d7;
    color: #d63031;
}

.no-message {
    background-color: #fff3cd;
    color: #856404;
}

.edit-btn {
    padding: 6px 12px;
    background-color: #1A9FDA;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.edit-btn:hover {
    background-color: #0056b3;
}

#editModal .modal-content {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="datetime-local"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group select {
    background: white;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 32px;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
}

.form-actions {
    margin-top: 30px;
    text-align: right;
}

.save-btn {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.save-btn:hover {
    background-color: #218838;
}

/* Login toast */
.login-toast{
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    transition: transform .25s ease, opacity .25s ease;
    opacity: 0;
    z-index: 9999;
    pointer-events: none;
    font-size: 14px;
}
.login-toast.visible{
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Success toast (for password changes, etc.) */
.success-toast {
    background: rgba(0,0,0,0.85) !important;
    color: white !important;
}

.success-toast i {
    margin-right: 8px;
    font-size: 14px;
}

/* Error toast (for login errors, etc.) */
.error-toast {
    background: rgba(0,0,0,0.85) !important;
    color: white !important;
}

.error-toast i {
    margin-right: 8px;
    font-size: 14px;
}

/* Mobile login toast positioning */
@media (max-width: 1150px) {
    .login-toast {
        bottom: 90px; /* Above bottom navigation (70px + 20px margin) */
        left: 50%;
        right: auto;
        width: calc(100% - 40px);
        max-width: 300px;
        font-size: 15px;
        padding: 12px 16px;
        text-align: center;
        z-index: 11000; /* Higher than mobile views (10000) */
        border: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Ensure toast is visible even when mobile views are open */
    .mobile-view-container ~ #loginToast,
    body.mobile-map-active #loginToast,
    body.mobile-info-active #loginToast,
    body.mobile-login-active #loginToast {
        z-index: 11000;
    }
}

/* Form error */
.form-error {
    color: #b71c1c;
    font-weight: 600;
}

.btn-ghost {
    background: transparent;
    border: 1px solid #e1e5ea;
    color: #345a8a;
    padding: 8px 12px;
    border-radius: 16px;
    cursor: pointer;
}

/* Premium CTA Section */
.premium-cta-section {
    background: linear-gradient(135deg, #345a8a 0%, #4a7ba7 100%);
    border-radius: 12px;
    margin-bottom: 40px;
    margin-top: 40px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(52, 90, 138, 0.25);
}

.premium-cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 40px;
    min-height: 280px;
    position: relative;
}

.premium-cta-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

.premium-icon-wrapper {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.premium-icon-wrapper i {
    font-size: 2rem;
    color: #fff;
}

.premium-cta-content h2 {
    color: #fff;
    font-size: 2.4rem;
    margin: 0 0 16px 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.premium-cta-content > p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0 0 30px 0;
}

.premium-cta-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.premium-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
}

.premium-feature i {
    color: #fff;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.premium-cta-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 25px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.price-period {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.premium-cta-btn {
    background: #fff;
    color: #345a8a;
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.premium-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

.premium-cta-btn:active {
    transform: translateY(0);
}

.premium-cta-btn i {
    font-size: 1.2rem;
}

.premium-cta-image {
    flex-shrink: 0;
    margin-right: 40px;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1150px) {
    .premium-cta-section {
        display: none !important; /* Dölj på mobil */
    }
    
    .section.premium-cta-section {
        display: none !important; /* Dölj även om .section har display: block !important */
    }
}

/* Newsletter Section */
.newsletter-section {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ebe6e7;
    margin-bottom: 40px;
    margin-top: 40px;
    padding: 0;
    overflow: hidden;
}

.newsletter-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    min-height: 200px;
}

.newsletter-content {
    flex: 1;
    max-width: 600px;
}

.newsletter-content h2 {
    color: #1a2b3b;
    font-size: 2.2rem;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.newsletter-content p {
    color: #6c7a89;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.newsletter-input-group {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.newsletter-input-group input[type="email"],
.newsletter-input-group select {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid #ebe6e7;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input-group input[type="email"]:focus,
.newsletter-input-group select:focus {
    background: #fff;
    border-color: #345a8a;
    box-shadow: 0 0 0 3px rgba(52, 90, 138, 0.1);
}

.newsletter-input-group select {
    cursor: pointer;
    min-width: 160px;
    /* Åsidosätt mobilens inbyggda select-styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Säkerställ att email-fält inte får dropdown-pil */
.newsletter-input-group input[type="email"] {
    background-image: none !important;
    padding-right: 18px;
}

.newsletter-input-group select option {
    background: #fff;
    color: #333;
}

.newsletter-btn {
    padding: 14px 24px;
    background: #345a8a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #2c4a6e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 90, 138, 0.3);
}

.newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.newsletter-checkbox {
    display: flex;
    align-items: center;
}

.newsletter-checkbox label {
    color: #6c7a89;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin: 0;
}

.newsletter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #345a8a;
}

.newsletter-icon {
    flex-shrink: 0;
    margin-right: 40px;
    font-size: 10rem;
    color: #ebe6e7;
}

.newsletter-success {
    text-align: center;
    color: #1a2b3b;
    padding: 20px 0;
}

.newsletter-success i {
    font-size: 3rem;
    margin-bottom: 16px;
    color: #4CAF50;
}

.newsletter-success h3 {
    margin: 0 0 8px 0;
    font-size: 1.4rem;
}

.newsletter-success p {
    margin: 0;
    opacity: 0.9;
}

/* Responsive Design för Newsletter */
@media (max-width: 1150px) {
    .newsletter-container {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .newsletter-icon {
        margin: 20px 0 0 0;
        order: -1;
    }
    
    .newsletter-content h2 {
        font-size: 1.8rem;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-btn {
        justify-content: center;
    }
    
    .newsletter-input-group select {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .newsletter-content h2 {
        font-size: 1.6rem;
    }
    
    .newsletter-content p {
        font-size: 1rem;
    }
}

/* Footer Styling */
footer {
    background: #fff;
    color: #333;
    padding: 50px 0 20px 0;
    border-top: 1px solid #ebe6e7;
    margin-top: 40px;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0px 60px;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    color: #1a2b3b;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.footer-section h3 {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
}

.footer-section h4 {
    font-size: 1.1rem;
    color: #345a8a;
}

.footer-logo p {
    color: #6c7a89;
    margin: 8px 0 0 0;
    font-size: 1rem;
}

.footer-logo-img {
    height: 24px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #6c7a89;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #345a8a;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f3f5;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright p,
.footer-disclaimer p {
    margin: 0;
    color: #7a8a99;
    font-size: 0.9rem;
}

.footer-disclaimer p {
    font-style: italic;
}

/* Footer Responsive */
@media (max-width: 1150px) {
    .footer-container {
        padding: 0px 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-main {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    footer {
        padding: 30px 0 15px 0;
    }
    
    .footer-section ul li {
        margin-bottom: 8px;
    }
}

/* Avatar Styling */
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #345a8a;
    transition: transform 0.2s ease;
}

.user-avatar:hover {
    transform: scale(1.05);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-initials {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* User Menu Dropdown */
.user-menu-container {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #ebe6e7;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #1a3a5d;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.user-menu-btn:hover {
    background: #345a8a
    transform: translateY(-1px);
}

.user-avatar-small {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #345a8a;
}

.avatar-img-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-initials-small {
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid #ebe6e7;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 280px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.dropdown-header .user-avatar {
    width: 48px;
    height: 48px;
}

.user-avatar-container {
    display: flex;
    align-items: center;
    position: relative;
}

.desktop-avatar-edit-btn {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: #007AFF;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.desktop-avatar-edit-btn:hover {
    background: #0056b3;
    transform: scale(1.1);
}

.dropdown-header .avatar-initials {
    font-size: 18px;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-weight: 600;
    color: #1a2b3b;
    font-size: 1rem;
    margin-bottom: 2px;
}

.user-email {
    color: #6c7a89;
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-divider {
    height: 1px;
    background: #ebe6e7;
    margin: 8px 0;
}

.dropdown-menu {
    padding: 8px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #1a2b3b;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-item:hover {
    background: #f1f3f5;
    color: #345a8a;
}

.dropdown-item i {
    width: 18px;
    color: #6c7a89;
    transition: color 0.2s ease;
}

.dropdown-item:hover i {
    color: #345a8a;
}

.dropdown-item .badge {
    background: #e53935;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.dropdown-item.admin-item {
    color: #345a8a;
}

.dropdown-item.admin-item i {
    color: #345a8a;
}

.dropdown-item.logout-item {
    color: #e53935;
}

.dropdown-item.logout-item i {
    color: #e53935;
}

.dropdown-item.logout-item:hover {
    background: #ffebee;
    color: #c62828;
}

.dropdown-item.logout-item:hover i {
    color: #c62828;
}

/* Responsive dropdown */
@media (max-width: 1150px) {
    .user-dropdown {
        right: -8px;
        min-width: 260px;
    }
    
    .user-menu-btn {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    
    .user-menu-btn span {
        display: none;
    }
    
    .user-avatar-small {
        width: 32px;
        height: 32px;
    }
    
    .avatar-initials-small {
        font-size: 12px;
    }
}

/* Message Notification Indicators */
.message-notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #ff3b30;
    border-radius: 50%;
    border: 2px solid #fff;
    display: none;
}

.message-notification-dot.show {
    display: block;
}

/* Desktop notification dot for user menu */
.user-menu-container {
    position: relative;
}

.user-avatar-small {
    position: relative;
}

.user-avatar-small .message-notification-dot {
    top: -2px;
    right: -2px;
    z-index: 1001;
}

/* Alternative desktop message badge */
.desktop-message-badge {
    position: relative;
    display: none;
    width: 8px;
    height: 8px;
    background: #ff3b30;
    border-radius: 50%;
    margin-left: 6px;
    margin-right: 4px;
    flex-shrink: 0;
}

.desktop-message-badge.show {
    display: block;
}



/* Mobile notification dot for profile nav item */
.mobile-nav-item {
    position: relative !important;
    /* Säkerställ att elementet följer med containern */
    transform: none !important;
    -webkit-transform: none !important;
}

.mobile-nav-item .message-notification-dot {
    top: 6px;
    right: 50%;
    transform: translateX(50%);
    margin-right: -6px;
}

/* Profile Modal Styling */
.profile-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.profile-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.current-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #345a8a;
    border: 4px solid #f1f3f5;
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-avatar-initials {
    color: white;
    font-size: 36px;
    font-weight: 600;
    text-align: center;
}

.avatar-upload-section {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.upload-btn,
.remove-avatar-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.upload-btn {
    background: #345a8a;
    color: white;
}

.upload-btn:hover {
    background: #2a4a7a;
    transform: translateY(-1px);
}

.remove-avatar-btn {
    background: #e53935;
    color: white;
}

.remove-avatar-btn:hover {
    background: #c62828;
    transform: translateY(-1px);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #ebe6e7;
}

.info-field label {
    font-weight: 600;
    color: #345a8a;
    margin: 0;
}

.info-field span {
    color: #1a2b3b;
}

/* Responsive avatar styling */
@media (max-width: 1150px) {
    .profile-avatar-section {
        gap: 16px;
    }
    
    .current-avatar {
        width: 100px;
        height: 100px;
    }
    
    .profile-avatar-initials {
        font-size: 30px;
    }
    
    .avatar-upload-section {
        flex-direction: column;
        align-items: center;
    }
    
    .upload-btn,
    .remove-avatar-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .info-field {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* =================================
   MESSAGES MODAL STYLING
   ================================= */

.messages-container {
    display: flex;
    flex-direction: column;
}

.messages-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.messages-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.filter-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: white;
}

.refresh-btn {
    background: #6c757d;
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.refresh-btn:hover {
    background: #5a6268;
}

.messages-list {
    flex: 1;
    padding-right: 5px;
}

.message-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.message-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.message-item.unread {
    border-left: 4px solid #007bff;
    background: #f8f9ff;
}

.message-item.unread .message-subject {
    font-weight: 600;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.message-subject {
    font-size: 1rem;
    color: #212529;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.message-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
    margin-left: 12px;
}

.message-date {
    font-size: 0.8rem;
    color: #6c757d;
    white-space: nowrap;
    display: none;
}

.message-type-badge {
    font-size: 0.7rem;
    padding: 6px 14px;
    border-radius: 42px;
    color: white;
    font-weight: 500;
}

.message-type-badge.general {
    background: #6c757d;
}

.message-type-badge.location_alert {
    background: #dc3545;
}

.message-type-badge.payment_error {
    background: #fd7e14;
}

.message-type-badge.membership {
    background: #28a745;
}

.message-sender {
    font-size: 0.85rem;
    color: #007bff;
    margin-bottom: 6px;
    font-weight: 500;
}

.message-preview {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 10px;
}

.message-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f3f4;
}

.message-action-btn {
    background: none;
    border: 1px solid #dee2e6;
    color: #6c757d;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.message-action-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.message-action-btn.delete {
    color: #dc3545;
    border-color: #dc3545;
}

.message-action-btn.delete:hover {
    background: #f8d7da;
}

.loading-messages {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.loading-messages i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #007bff;
}

.no-messages {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.no-messages i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #dee2e6;
}

.no-messages h3 {
    margin: 0 0 10px 0;
    color: #495057;
}

.no-messages p {
    margin: 0;
    line-height: 1.5;
}

.unread-badge {
    background: #dc3545;
    color: white;
    font-size: 0.7rem;
    padding: 0;
    border-radius: 50%;
    margin-left: auto;
    font-weight: 600;
    width: 20px;
    height: 20px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Mobile responsive */
@media (max-width: 1150px) {
    .messages-filters {
        gap: 6px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .message-item {
        padding: 12px;
    }
    
    .message-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .message-meta {
        flex-direction: row;
        align-items: center;
        margin-left: 0;
    }
    
    .messages-list {
        max-height: 60vh;
    }
}

/* =================================
   MOBILE MESSAGES VIEW STYLING
   ================================= */

/* Förhindra body scroll när mobile views är öppna */
body.mobile-view-open {
    overflow: hidden !important;
}

@media (max-width: 1150px) {
    .mobile-view-container {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: calc(70px + env(safe-area-inset-bottom, 0)); /* Leave space for bottom navigation */
        background: #f8f9fa;
        z-index: 10000;
        display: flex;
        flex-direction: column;
        overflow: hidden; /* Container ska inte scrolla - endast content ska scrolla */
        
        /* Slide transition */
    }

    .mobile-view-header {
        background: #007AFF;
        color: white;
        padding: 10px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 44px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .mobile-view-header .mobile-back-btn,
    .mobile-view-header a.mobile-back-btn,
    .mobile-view-header .mobile-action-btn {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .mobile-view-header .mobile-back-btn,
    .mobile-view-header a.mobile-back-btn {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        font-size: 14px;
        padding: 8px;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        text-decoration: none;
        box-sizing: border-box;
        line-height: 1;
        margin: 0;
    }

    .mobile-back-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .mobile-back-btn:active {
        transform: translateY(0);
        background: rgba(255, 255, 255, 0.15);
    }

    .mobile-view-header .mobile-share-btn {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        font-size: 14px;
        padding: 8px;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .mobile-share-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .mobile-share-btn:active {
        transform: translateY(0);
        background: rgba(255, 255, 255, 0.15);
    }

    .mobile-view-header h1 {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 600;
        flex: 1;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 120px);
        pointer-events: none;
    }

    .mobile-refresh-btn {
        background: none;
        border: none;
        color: white;
        font-size: 18px;
        padding: 8px;
        border-radius: 50%;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    .mobile-refresh-btn:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .mobile-messages-container{
        width: calc(100% - 40px);
        padding: 20px;
        min-height: 0; /* Tillåt flex att kontrollera höjden */
    }

    .mobile-view-content {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 0;
        background: #f8f9fa;
        width: 100%;
        display: flex;
        justify-content: center;
        box-sizing: border-box;
        overscroll-behavior: contain; /* Stoppa scroll-kedja till bakgrund */
        -webkit-overflow-scrolling: touch;
        min-height: 0; /* Tillåt flex att begränsa höjden korrekt */
    }
    

    .mobile-messages-filters {
        display: flex;
        gap: 8px;
        margin-bottom: 20px;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .mobile-filter-btn {
        background: white;
        border: 1px solid #dee2e6;
        color: #495057;
        padding: 10px 16px;
        border-radius: 25px;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        min-width: fit-content;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .mobile-filter-btn:hover {
        background: #e9ecef;
        border-color: #adb5bd;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

    .mobile-filter-btn.active {
        background: #007AFF;
        border-color: #007AFF;
        color: white;
        box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
    }

    .mobile-filter-btn i {
        font-size: 0.9rem;
    }

    .mobile-messages-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 0; /* Ta bort extra margin */
    }

    .mobile-messages-list .message-item {
        background: white;
        border: none;
        border-radius: 15px;
        padding: 16px;
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.2s ease;
    }

    .mobile-messages-list .message-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }

    .mobile-messages-list .message-item.unread {
        border-left: 4px solid #007AFF;
        background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    }

    .mobile-no-messages {
        text-align: center;
        padding: 60px 20px;
        color: #6c757d;
    }

    .mobile-no-messages i {
        font-size: 3rem;
        color: #dee2e6;
        margin-bottom: 20px;
        display: block;
    }

    .mobile-no-messages h3 {
        margin: 0 0 12px 0;
        color: #495057;
        font-size: 1.2rem;
    }

    .mobile-no-messages p {
        margin: 0;
        line-height: 1.6;
        font-size: 0.95rem;
    }

    .loading-messages {
        text-align: center;
        padding: 40px 20px;
        color: #6c757d;
    }

    .loading-messages i {
        font-size: 1.5rem;
        margin-bottom: 12px;
        display: block;
        color: #007AFF;
    }
}

/* =================================
   SETTINGS MODAL STYLING
   ================================= */

/* Specifik bredd för inställningar-modal för att undvika horisontell scroll */
#settingsModal .modal-dialog {
    max-width: 650px;
    min-width: 500px;
}

/* Säkerställa att inställningar-innehåll inte orsakar overflow */
#settingsModal .modal-body {
    overflow: visible;
}

#settingsModal .form-group input,
#settingsModal .form-group select,
#settingsModal .form-group textarea {
    box-sizing: border-box;
    max-width: 100%;
}

.settings-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.settings-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.settings-section {
    background: #f8f9fa;
    border-left: 4px solid #345a8a; /* Accent border */
    padding: 20px; /* Mer padding */
    margin-bottom: 24px; /* Mer luft mellan sektioner */
    border-radius: 0 8px 8px 0; /* Rundade kanter på högra sidan */
}

.settings-section h3 {
    color: #495057;
    font-size: 1.44rem; /* 20% större (1.2rem * 1.2) */
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.danger-section {
    border-color: #dc3545;
    background: #fff5f5;
    padding: 20px;
    border-radius: 8px;
}

.danger-section h3 {
    color: #dc3545;
}

.danger-section p {
    color: #721c24;
    margin-bottom: 15px;
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-danger:hover {
    background: #c82333;
}

/* Notifieringsinställningar */
.premium-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Crime Types Dropdown Styling */
.crime-types-dropdown {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.dropdown-toggle {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #495057;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dropdown-toggle:hover {
    border-color: #1a3a5d;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.dropdown-toggle:focus {
    outline: none;
    border-color: #1a3a5d;
    box-shadow: 0 0 0 3px rgba(26, 58, 93, 0.1);
}

.dropdown-icon {
    transition: transform 0.2s ease;
    color: #6c757d;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.dropdown-content.show {
    max-height: 300px;
    overflow-y: auto;
}

.dropdown-checkbox-label {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #495057;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-checkbox-label:last-child {
    border-bottom: none;
}

.dropdown-checkbox-label:hover {
    background: #f8f9fa;
    color: #1a3a5d;
}

.dropdown-checkbox-label input[type="checkbox"] {
    margin-right: 12px;
    transform: scale(1.1);
    accent-color: #1a3a5d;
}

.dropdown-checkmark {
    margin-left: auto;
    color: #1a3a5d;
    font-weight: bold;
}

/* Mobile-specific dropdown styling */
@media (max-width: 768px) {
    .dropdown-toggle {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .dropdown-content {
        border-radius: 0 0 10px 10px;
        max-height: 250px;
    }
    
    .dropdown-checkbox-label {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .dropdown-checkbox-label input[type="checkbox"] {
        transform: scale(1.2);
        margin-right: 14px;
    }
}

/* Mobile Crime Types List - Simple Checkboxes */
.mobile-crime-types-list {
    margin-top: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

.mobile-crime-checkbox {
    display: flex;
    align-items: center;
    padding: 8px 0;
    cursor: pointer;
    font-size: 0.9rem;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.mobile-crime-checkbox:last-child {
    border-bottom: none;
}

/* No hover styling for notification checkboxes to avoid layout shift */

.mobile-crime-checkbox input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: #1a3a5d;
    cursor: pointer;
}

.mobile-crime-checkbox input[type="checkbox"]:checked + .mobile-checkmark {
    color: #1a3a5d;
    font-weight: bold;
}

.mobile-checkmark {
    margin-left: auto;
    color: #6c757d;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

/* Mobile Premium Badge */
.premium-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a3a5d;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 12px;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

/* Mobile Settings Section */
.mobile-settings-section {
    background: #f8f9fa;
    border-left: 4px solid #345a8a; /* Accent border */
    padding: 16px; /* Mer padding */
    margin-bottom: 20px; /* Mer luft mellan sektioner */
    border-radius: 0 8px 8px 0; /* Rundade kanter på högra sidan */
}

/* Mobile Settings Section Header */
.mobile-settings-section h3 {
    display: flex;
    align-items: center;
    font-size: 1.2rem; /* 10% större för mobil */
    font-weight: 600;
    color: #1a3a5d;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
    line-height: 1.4;
}

.mobile-settings-section h3 i {
    margin-right: 8px;
    color: #1a3a5d;
}

/* Mobile Form Group Styling */
.mobile-form-group {
    margin-bottom: 20px;
}

.mobile-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.mobile-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    color: #495057;
    transition: all 0.2s ease;
}

.mobile-form-group select:focus {
    outline: none;
    border-color: #1a3a5d;
    box-shadow: 0 0 0 3px rgba(26, 58, 93, 0.1);
}

/* Mobile Checkbox Label */
.mobile-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #495057;
    padding: 8px 0;
}

.mobile-checkbox-label input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: #1a3a5d;
    cursor: pointer;
}

.mobile-checkmark {
    margin-left: auto;
    color: #1a3a5d;
    font-weight: bold;
}

/* Mobile Button Primary */
.mobile-btn-primary {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #1a3a5d, #2c5282);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: none;
}

/* Cookie banner */
.cookie-banner {
    position: fixed !important;
    left: 50% !important;
    bottom: 20px !important;
    transform: translateX(-50%) !important;
    width: 90%;
    max-width: 700px;
    background: #ffffff !important;
    border: 2px solid #dee2e6;
    border-radius: 16px;
    padding: 24px;
    z-index: 999999 !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    display: none !important;
    box-sizing: border-box;
}

.cookie-banner.show {
    display: block !important;
}

.cookie-banner .cookie-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a3a5d;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.cookie-banner .cookie-title i {
    font-size: 1.3rem;
    color: #f0ad4e;
}

.cookie-banner p {
    color: #495057;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0 0 18px 0;
}

.cookie-banner .cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    border: 2px solid #dee2e6;
    background: #fff;
    color: #1a3a5d;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.cookie-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.cookie-btn.primary {
    background: linear-gradient(135deg, #1a3a5d, #2c5282);
    color: #fff;
    border-color: transparent;
}

.cookie-btn.primary:hover {
    background: linear-gradient(135deg, #2c5282, #1a3a5d);
    transform: translateY(-1px);
}

.cookie-btn:focus { 
    outline: 2px solid #1a3a5d; 
    outline-offset: 2px;
}

.cookie-btn.cookie-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 768px) {
    .cookie-banner { 
        bottom: 12px !important; 
        padding: 16px 14px; 
        width: calc(100% - 24px) !important;
        left: 12px !important;
        right: 12px !important;
        transform: none !important;
        border-radius: 12px;
        max-height: 90vh;
        overflow-y: auto;
        box-sizing: border-box !important;
    }
    .cookie-banner .cookie-title { 
        font-size: 1rem; 
        margin-bottom: 10px;
    }
    .cookie-banner .cookie-title i {
        font-size: 1.15rem;
    }
    .cookie-banner p { 
        font-size: 0.875rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }
    .cookie-banner .cookie-actions { 
        gap: 10px; 
        flex-direction: column;
    }
    .cookie-btn { 
        width: 100% !important; 
        text-align: center; 
        padding: 13px 16px;
        font-size: 0.9rem;
        border-radius: 8px;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }
    .cookie-btn.cookie-link {
        justify-content: center;
        width: 100% !important;
    }
}

.mobile-btn-primary:hover { background: linear-gradient(135deg, #2c5282, #1a3a5d); transform: translateY(-2px); box-shadow: none; }

.mobile-btn-primary:active { transform: translateY(0); box-shadow: none; }

.mobile-btn-primary i {
    font-size: 0.9rem;
}

.multi-select option {
    padding: 8px 12px;
    margin: 1px 0;
    border-radius: 4px;
    cursor: pointer;
}

.multi-select option:checked {
    background: #1a3a5d !important;
    color: white !important;
}

.multi-select option:hover {
    background: #f8f9fa;
}

.form-help {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 4px;
}

/* Mobile notification styles */
.mobile-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 8px;
}

.mobile-form-help {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 4px;
}

/* =================================
   MOBILE SETTINGS VIEW STYLING
   ================================= */

@media (max-width: 1150px) {
    .mobile-settings-container {
        padding: 20px;
        padding-bottom: 100px; /* Extra space above bottom navigation */
    }

    .mobile-settings-section {
        background: white;
        border-radius: 15px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .mobile-settings-section h3 {
        color: #495057;
        font-size: 1.1rem;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .mobile-form-group {
        margin-bottom: 20px;
    }

    .mobile-form-group label {
        display: block;
        color: #495057;
        font-weight: 500;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }

    /* Do NOT style checkboxes like text inputs */
    .mobile-form-group input:not([type="checkbox"]),
    .mobile-form-group select {
        width: 100%;
        padding: 12px;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        font-size: 1rem;
        background: #f8f9fa;
        transition: all 0.2s ease;
        box-sizing: border-box;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .mobile-form-group input:not([type="checkbox"]):focus,
    .mobile-form-group select:focus {
        outline: none;
        border-color: #007AFF;
        background: white;
        box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
    }

    .mobile-form-group select {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 40px;
        cursor: pointer;
    }

    .mobile-btn-primary {
        background: #007AFF;
        color: white;
        border: none;
        padding: 12px 24px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 1rem;
        font-weight: 500;
        width: 100%;
        transition: background-color 0.2s;
        margin-top: 10px;
    }

    .mobile-btn-primary:hover {
        background: #0056b3;
        transform: translateY(-1px);
    }

    .mobile-danger-section {
        background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
        border: 1px solid #f5c6cb;
    }

    .mobile-danger-section h3 {
        color: #dc3545;
    }

    .mobile-danger-section p {
        color: #721c24;
        margin-bottom: 15px;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .mobile-btn-danger {
        background: #dc3545;
        color: white;
        border: none;
        padding: 12px 24px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 1rem;
        font-weight: 500;
        width: 100%;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .mobile-btn-danger:hover {
        background: #c82333;
        transform: translateY(-1px);
    }
    
    /* Mobile Forgot Password Styling */
    .mobile-forgot-password-container {
        padding: 20px;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .mobile-forgot-password-info {
        text-align: center;
        padding: 40px 20px;
        background: white;
        border-radius: 15px;
        margin-bottom: 30px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .mobile-forgot-password-info h3 {
        color: #495057;
        font-size: 1.3rem;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .mobile-forgot-password-info p {
        color: #6c7a89;
        font-size: 1rem;
        line-height: 1.5;
    }

    .mobile-forgot-password-footer {
        text-align: center;
        margin-top: 30px;
        padding: 20px;
    }

    .mobile-forgot-password-footer p {
        color: #6c7a89;
        margin-bottom: 15px;
    }

    .mobile-link-btn {
        background: none;
        border: none;
        color: #007AFF;
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
        text-decoration: underline;
    }

    .mobile-link-btn:hover {
        color: #0056CC;
    }
}

/* =================================
   MOBILE APP-LIKE DESIGN
   ================================= */

@media (max-width: 1150px) {
    /* Hide desktop elements on mobile */
    .mobile-hidden {
        display: none !important;
    }
    
    /* Mobile body adjustments */
    html {
        height: 100%;
        height: -webkit-fill-available;
    }
    
    body {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height */
        min-height: -webkit-fill-available;
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0) + 20px) !important; /* Space for bottom navigation */
        padding-top: 0 !important; /* Remove top padding since header is visible */
        overflow-x: hidden !important;
        /* dämpa bounce som triggar jank vid fixed elements */
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }

    /* Dölj bottom-nav vid scroll nedåt */
    body.nav-hidden .mobile-bottom-nav {
        transform: translateY(110%);
    }

    /* När nav döljs, minska padding-bottom så innehåll får mer plats */
    body.nav-hidden {
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0)) !important;
    }
    
    /* Mobile container */
    .container {
        padding: 0;
        max-width: 100%;
    }
    
    /* Hide header on mobile */
    header {
        display: flex !important; /* Override the hide */
        background: #fff !important; /* Vit bakgrund */
        padding: 15px 20px !important; /* Mindre padding */
        box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Lägg till shadow */
        position: relative; /* Ta bort sticky */
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 20px; /* Lägg till mer margin bottom */
    }
    
    /* Mindre logga på mobil */
    header h1 {
        font-size: 1.5rem !important; /* Mindre text */
    }
    
    header h1 i {
        font-size: 1.5rem !important; /* Mindre ikon */
    }
    
    /* Dölj användarmeny på mobil */
    .user-menu-container {
        display: none !important;
    }
    
    /* Dölj login-knapp på mobil */
    .header-button {
        display: none !important;
    }
    
    /* Visa sök-ikon på mobil */
    .mobile-search-icon {
        display: block !important;
        background: none;
        border: none;
        color: #1a3a5d;
        font-size: 1.3rem;
        padding: 8px;
        cursor: pointer;
        border-radius: 50%;
        transition: background-color 0.2s;
    }
    
    .mobile-search-icon:hover {
        background-color: #f0f8ff;
    }
    
    /* Hide hero section on mobile */
    .hero {
        display: none;
    }
    
    /* Hide filters on mobile */
    .filters {
        display: none;
    }
    
    /* Hide map section on mobile (will be shown via bottom nav) */
    .section-map {
        display: none;
    }
    
    /* Hide newsletter section on mobile */
    .section.newsletter-section {
        display: none !important;
    }
    
    /* Hide footer on mobile */
    footer {
        display: none;
    }
    
    /* Mobile carousel section */
    .section {
        margin: 20px;
        padding: 0px;
        display: block !important; /* Override any JS hiding */
        width: calc(100% - 40px);

    }
    
    .section h2 {
        font-size: 1.8rem; /* 20% större */
        margin-bottom: 20px; /* Mer luft */
        color: #1a2b3b;
        text-align: center;
        padding-top: 10px;
        line-height: 1.4;
    }
    
    /* Mobile status bar spacing */
    body {
        padding-top: env(safe-area-inset-top, 0);
    }
    
    /* Mobile carousel grid */
    .carousel-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    /* Mobile carousel header - "Senaste:" och dropdown alignment */
    .section > div[style*="display:flex"] {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        flex-wrap: nowrap !important;
    }
    
    .section h2 {
        margin: 0 !important;
        font-size: 1.3rem !important;
        color: #1a2b3b !important;
        text-align: left !important;
        padding-top: 0 !important;
        flex-shrink: 0 !important;
    }
    
    /* Mobile dropdown styling */
    #carouselFilterForm {
        flex-shrink: 1 !important;
        min-width: 0 !important;
    }
    
    #carouselFilterForm label {
        font-size: 0.9rem !important;
        color: #4a5568 !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
    }
    
    #carouselFilterForm select {
        padding: 8px 12px !important;
        border-radius: 8px !important;
        border: 1px solid #e0e0e0 !important;
        background: #fff !important;
        font-size: 0.9rem !important;
        color: #1a2b3b !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
        min-width: 100px !important;
        max-width: 140px !important;
        appearance: none;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
        background-position: right 8px center !important;
        background-repeat: no-repeat !important;
        background-size: 14px !important;
        padding-right: 28px !important;
    }
    
    #carouselFilterForm select:focus {
        outline: none !important;
        border-color: #007AFF !important;
        box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1) !important;
    }

    /* Mobile carousel cards - mer lik desktop-design */
    .carousel-card {
        padding: 20px; /* Mer padding på mobil */
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        border: 1px solid #ebe6e7;
        background: #fff;
        margin-bottom: 20px; /* Mer luft mellan kort */
        gap: 10px; /* Spacing mellan element inuti kort */
    }
    
    .carousel-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
        line-height: 1.4;
        color: #1a2b3b;
        font-weight: 600;
    }
    
    .carousel-p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 12px;
        color: #4a5568;
    }
    
    /* Mobile card top row - samma som desktop */
    .card-top-row {
        margin-bottom: 0px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .card-top-row .date {
        font-size: 0.85rem;
        color: #6c7a89;
    }
    
    .card-top-row .tag {
        font-size: 0.8rem;
        padding: 8px 14px;
        border-radius: 50px;
        font-weight: 500;
    }
    
    /* Mobile card bottom row - samma layout som desktop */
    .card-bottom-row {
        flex-direction: row;
        gap: 12px;
        align-items: center;
        justify-content: space-between;
    }
    
    .read-more {
        text-align: left;
        padding: 0;
        background: none;
        color: #345a8a !important;
        border-radius: 0;
        text-decoration: none;
        font-weight: normal;
        font-size: 0.9rem;
        transition: color 0.2s;
    }
    
    .read-more:hover {
        color: #1a3a5d !important;
        background: none;
    }
    
    .share-btn {
        justify-content: center;
        padding: 6px 12px;
        border: 1px solid #d4d4d8;
        background: #f8f9fa;
        border-radius: 6px;
        font-size: 0.85rem;
        color: #4a5568;
        gap: 6px;
        transition: all 0.2s;
    }
    
    .share-btn:hover {
        background: #e2e8f0;
        border-color: #a0aec0;
    }
    
    /* Load more button for mobile - hide it and use infinite scroll instead */
    .carousel-load-more {
        text-align: center;
        margin-top: 20px;
    }
    
    #carouselLoadMoreBtn {
        display: none; /* Hide load more button on mobile */
    }
    
    /* Mobile infinite scroll loading indicator */
    .mobile-loading-indicator {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 20px;
        color: #6c7a89;
        font-size: 0.9rem;
    }
    
    .mobile-loading-indicator.show {
        display: flex !important;
    }
    
    .loading-spinner i {
        font-size: 1.2rem;
        color: #007AFF;
    }
}

/* =================================
   MOBILE BOTTOM NAVIGATION
   ================================= */

.mobile-bottom-nav {
    display: none !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #fff !important;
    border-top: 1px solid #e0e0e0 !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1) !important;
    z-index: 10000 !important;
    height: calc(70px + env(safe-area-inset-bottom, 0)) !important;
    min-height: 70px !important;
    /* håll en konstant höjd – undvik hopp */
    padding-bottom: env(safe-area-inset-bottom, 0) !important;
    box-sizing: border-box !important;
    /* främja egen compositor-lager för att undvika jank */
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    transition: transform 180ms ease-out;
}

@media (max-width: 1150px) {
    .mobile-bottom-nav {
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        align-content: center !important;
        padding: 4px 0 !important;
        padding-bottom: calc(4px + env(safe-area-inset-bottom, 0)) !important;
        /* Säkerställ att flexbox fungerar korrekt */
        flex-wrap: nowrap !important;
        /* Säkerställ att containern och innehållet flyttar sig tillsammans */
        transform: translate3d(0, 0, 0) !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
    }
    
    .mobile-nav-item {
        /* Elementen ska bara följa containern, ingen egen positionering */
        position: relative !important;
        transform: none !important;
        -webkit-transform: none !important;
        margin: 0 !important;
        /* Säkerställ att inget kan flytta dessa element */
        will-change: auto !important;
    }
}

/* Override sent i filen så den vinner över tidigare regler */
@media (max-width: 1150px) {
    body.nav-hidden .mobile-bottom-nav {
        display: none !important;
    }
}

/* När bottennavigeringen är dold, låt överlägg (login/info/karta m.fl.) gå hela vägen ned */
@media (max-width: 1150px) {
    body.nav-hidden .mobile-view-container,
    body.nav-hidden .mobile-map-container,
    body.nav-hidden .mobile-info-container,
    body.nav-hidden .mobile-login-container,
    body.nav-hidden .mobile-info-container.active,
    body.nav-hidden .mobile-login-container.active {
        bottom: env(safe-area-inset-bottom, 0) !important;
    }
}

.mobile-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    color: #8e8e93;
    text-decoration: none;
    padding: 8px !important;
    transition: color 0.2s;
    cursor: pointer;
    position: relative !important;
    /* Säkerställ att elementet följer med containern */
    transform: none !important;
    -webkit-transform: none !important;
}

.mobile-nav-item.active {
    color: #007AFF;
}

.mobile-nav-item:hover {
    color: #007AFF;
}

.mobile-nav-item i {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.mobile-nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
}

/* =================================
   MOBILE MAP FULLSCREEN
   ================================= */

.mobile-map-container {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: calc(70px + env(safe-area-inset-bottom, 0)); /* Space for bottom nav */
    z-index: 9999; /* Höjd z-index för att vara över allt */
    background: #fff;
}

.mobile-map-container.active {
    display: block !important;
}

.mobile-map-container #mobile-map {
    width: 100% !important;
    height: 100% !important;
    position: relative;
    z-index: 1;
}

/* Dölj allt annat innehåll när mobilkartan är aktiv */
@media (max-width: 1150px) {
    .mobile-map-container {
        z-index: 9999 !important;
    }
    
    body.mobile-map-active .container,
    body.mobile-map-active header {
        display: none !important;
    }
    
    /* Visa direkt på mobil_karta.php sidan */
    body.mobile-map-active .mobile-map-container {
        display: block !important;
    }
    
    .mobile-map-container.active {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: calc(70px + env(safe-area-inset-bottom, 0)) !important;
    }
}

/* =================================
   MOBILE INFO FULLSCREEN
   ================================= */

.mobile-info-container {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: calc(70px + env(safe-area-inset-bottom, 0)); /* Space for bottom nav */
    z-index: 9999;
    overflow-y: auto;
    background: #f8f9fa;
}

.mobile-info-container.active {
    display: block !important;
}

.mobile-info-content {
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.6;
}

.mobile-info-content-inside {
    padding: 20px;
}

.mobile-info-content h2 {
    color: #1a2b3b;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.mobile-info-content h3 {
    color: #007AFF;
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
}

.mobile-info-content h4 {
    color: #1a2b3b;
    margin: 15px 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
}

.mobile-info-content p {
    margin-bottom: 15px;
    color: #333;
}

.mobile-info-content ul {
    margin: 10px 0 15px 20px;
    padding-left: 0;
}

.mobile-info-content ul li {
    margin-bottom: 8px;
    color: #333;
}

.update-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #007AFF;
}

.update-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #1a2b3b;
}

.contact-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #28a745;
}

.contact-section h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #1a2b3b;
}

.mobile-info-header h2 {
    color: #1a2b3b;
    margin-bottom: 30px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: center;
    justify-content: center;
}

.mobile-info-header h2 i {
    color: #007AFF;
}

/* Dölj allt annat innehåll när mobil-info är aktiv */
@media (max-width: 1150px) {
    .mobile-info-container {
        z-index: 9999 !important;
    }
    
    body.mobile-info-active .container,
    body.mobile-info-active header {
        display: none !important;
    }
    
    /* Visa direkt på mobil_info.php sidan */
    body.mobile-info-active .mobile-info-container {
        display: block !important;
    }
    
    .mobile-info-container.active {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: calc(70px + env(safe-area-inset-bottom, 0)) !important;
        justify-content: center !important;
        overflow-y: auto !important;
    }
    
    .mobile-info-container.active > * {
        max-width: 940px !important;
        width: 100% !important;
    }
}

/* =================================
   MOBILE LOGIN FULLSCREEN
   ================================= */

.mobile-login-container {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: calc(70px + env(safe-area-inset-bottom, 0)); /* Space for bottom nav */
    z-index: 9999;
    background: #f8f9fa;
    overflow-y: auto;
}

.mobile-login-container.active {
    display: block !important;
}

.mobile-login-content {
    padding: 30px 20px;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-login-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    position: relative;
}

.mobile-login-header .mobile-back-btn {
    position: absolute;
    left: 0;
}

.mobile-login-header h2 {
    color: #1a2b3b;
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: center;
    justify-content: center;
    flex: 1;
}

.mobile-login-header h2 i {
    color: #007AFF;
}

/* Auth Toggle Tabs */
.mobile-auth-toggle {
    display: flex;
    background: #e9ecef;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 30px;
}

.mobile-auth-tab {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-auth-tab.active {
    background: #007AFF;
    color: white;
}

/* Auth Forms */
.mobile-auth-form {
    display: block;
}

.mobile-input-group {
    margin-bottom: 20px;
}

.mobile-input-group label {
    display: block;
    color: #1a2b3b;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.mobile-input-group input,
.mobile-input-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    color: #1a2b3b;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.mobile-input-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 48px;
    cursor: pointer;
}

.mobile-input-group input:focus,
.mobile-input-group select:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.mobile-auth-btn {
    width: 100%;
    padding: 14px 20px;
    background: #007AFF;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s;
    margin-bottom: 20px;
}

.mobile-auth-btn:hover {
    background: #0056b3;
}

.mobile-auth-links {
    text-align: center;
}

.mobile-auth-links a {
    color: #007AFF;
    text-decoration: none;
    font-size: 0.9rem;
}

.mobile-auth-checkbox {
    margin-bottom: 20px;
}

.mobile-auth-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: normal;
}

.mobile-auth-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: auto;
}

/* Profile View */
.mobile-profile-view {
    text-align: center;
}

.mobile-profile-info {
    margin-bottom: 40px;
}

.mobile-profile-avatar {
    position: relative;
    display: inline-block;
}

.mobile-avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #007AFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 15px;
    overflow: hidden;
}

.mobile-avatar-circle span {
    color: white;
    font-size: 24px;
    font-weight: 600;
}

.mobile-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.mobile-avatar-edit-btn {
    position: absolute;
    bottom: 15px;
    right: 50%;
    transform: translateX(50%) translateX(25px);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #007AFF;
    color: white;
    border: 2px solid white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.mobile-avatar-edit-btn:hover {
    background: #0056b3;
    transform: translateX(50%) translateX(25px) scale(1.1);
}

.mobile-profile-info h3 {
    color: #1a2b3b;
    margin-bottom: 5px;
    font-size: 1.3rem;
    margin-block-start: 0.3em;
}

.mobile-profile-info p {
    color: #6c757d;
    font-size: 0.95rem;
     margin-block-end: 0.5em;
    margin-block-start: 0.3em;
}

.mobile-membership-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 10px auto 0 auto;
    padding: 6px 12px;
    border-radius: 32px;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
}

.mobile-membership-status.basic {
    background: #e9ecef;
    color: #495057;
}

.mobile-membership-status.premium {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #8b5a00;
    border: 1px solid #f4d03f;
}

.mobile-membership-status i {
    font-size: 0.8rem;
}

.mobile-profile-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-profile-actions::after {
    content: '';
    height: 10px;
    width: 100%;
}

.mobile-profile-btn {
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.mobile-profile-btn:not(.logout) {
    background: #007AFF;
    color: white;
}

.mobile-profile-btn:not(.logout):hover {
    background: #0056b3;
}

.mobile-profile-btn.logout {
    background: #f8f9fa;
    color: #dc3545;
    border: 1px solid #e0e0e0;
    margin-bottom: 10px; /* Extra space for last button */
}

.mobile-profile-btn.logout:hover {
    background: #dc3545;
    color: white;
}

/* Mobile Unread Badge */
.mobile-unread-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    font-size: 0.7rem;
    padding: 4px 0 0 0;
    border-radius: 50%;
    font-weight: 600;
    width: 20px;
    height: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.mobile-profile-btn {
    position: relative; /* Needed for absolute positioning of badge */
}

/* Dölj allt annat innehåll när mobil-login är aktiv */
@media (max-width: 1150px) {
    .mobile-login-container {
        z-index: 9999 !important;
    }
    
    body.mobile-login-active .container,
    body.mobile-login-active header {
        display: none !important;
    }
    
    /* Visa direkt på mobil_profil.php sidan */
    body.mobile-login-active .mobile-login-container {
        display: block !important;
    }
    
    .mobile-login-container.active {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: calc(70px + env(safe-area-inset-bottom, 0)) !important;
    }
}

/* Dölj allt annat innehåll när mobil-membership är aktiv */
@media (max-width: 1150px) {
    body.mobile-membership-active .container,
    body.mobile-membership-active header {
        display: none !important;
    }
    
    body.mobile-membership-active #mobileMembershipView {
        z-index: 10000 !important;
    }
}

/* =================================
   MOBILE LOGIN MODAL
   ================================= */

@media (max-width: 1150px) {
    .modal-overlay .modal-dialog {
        margin: 20px;
        max-width: none;
        width: calc(100% - 120px);
    }
    
    .modal-header {
        padding: 20px 20px 0 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
}

/* =================================
   MOBILE INFO MODAL
   ================================= */

@media (max-width: 1150px) {
    #infoModal .modal-dialog {
        margin: 0;
        width: 100%;
        height: 100vh;
        max-width: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }
    
    #infoModal .modal-body {
        flex: 1;
        overflow-y: auto;
        padding: 20px;
    }
}

/* =================================
   MOBILE SEARCH MODAL
   ================================= */

@media (max-width: 1150px) {
    .mobile-search-container {
        padding: 10px 0;
    }
    
    .mobile-search-description {
        margin-bottom: 15px;
        padding: 0 5px;
    }
    
    .mobile-search-description p {
        color: #666;
        font-size: 0.9rem;
        margin: 0;
        line-height: 1.4;
        text-align: center;
    }
    
    .mobile-search-form {
        margin-bottom: 20px;
    }
    
    .search-input-container {
        position: relative;
        display: flex;
        align-items: center;
        background: #ffffff;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        padding: 4px;
    }
    
    .search-icon {
        color: #8e8e93;
        margin-left: 12px;
        margin-right: 8px;
        font-size: 1rem;
    }
    
    #mobileSearchInput {
        flex: 1;
        border: none;
        background: none;
        padding: 12px 8px 12px 0;
        font-size: 1rem;
        outline: none;
        color: #1a2b3b;
        padding-right: 50px; /* Plats för knappen inuti */
    }
    
    #mobileSearchInput::placeholder {
        color: #8e8e93;
    }
    
    .search-submit-btn-inside {
        position: absolute;
        right: 8px;
        background: #007AFF;
        color: white;
        border: none;
        padding: 8px;
        border-radius: 8px;
        width: 36px;
        height: 36px;
        cursor: pointer;
        transition: background-color 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .search-submit-btn-inside:hover {
        background: #0056b3;
    }
    
    .search-submit-btn-inside i {
        font-size: 0.9rem;
    }
    
    /* Search Indicator Styles */
    .search-indicator {
        background: #f0f7ff;
        border: 1px solid #b3d7ff;
        border-radius: 12px;
        padding: 16px 20px;
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
    }
    
    .search-indicator-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }
    
    .search-info {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #1a5490;
        font-weight: 500;
    }
    
    .search-info i {
        font-size: 1.1rem;
        color: #007bff;
    }
    
    .search-clear-btn {
        background: #007bff;
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 0.9rem;
        font-weight: 500;
        transition: background-color 0.2s;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    
    .search-clear-btn:hover {
        background: #0056b3;
    }
    
    .search-clear-btn i {
        font-size: 0.8rem;
    }
    
    /* No Results Card */
    .no-results-card {
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 12px;
        margin: 20px 0;
    }
    
    @media (max-width: 1150px) {
        .search-indicator {
            margin: 10px 15px 15px 15px;
            padding: 26px 16px;
            border-radius: 8px;
            width: calc(100% - 34px);
        }
        
        .search-indicator-content {
            flex-direction: column;
            gap: 12px;
            text-align: center;
        }
        
        .search-info {
            font-size: 0.9rem;
        }
        
        .search-clear-btn {
            padding: 10px 20px;
            border-radius: 6px;
            width: 100%;
            justify-content: center;
            margin-top: 10px;
        }
        
        .no-results-card {
            margin: 10px 0px;
            border-radius: 8px;
        }
    }
    
    #mobileSearchInput::placeholder {
        color: #8e8e93;
    }
    
    .search-submit-btn {
        background: #007AFF;
        color: white;
        border: none;
        padding: 10px 16px;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.2s;
    }
    
    .search-submit-btn:hover {
        background: #0056b3;
    }
    
    .search-suggestions {
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        max-height: 300px;
        overflow-y: auto;
        display: none;
    }
    
    .search-suggestions.show {
        display: block;
    }
    
    .search-suggestion-item {
        padding: 12px 16px;
        border-bottom: 1px solid #f0f0f0;
        cursor: pointer;
        transition: background-color 0.2s;
    }
    
    .search-suggestion-item:last-child {
        border-bottom: none;
    }
    
    .search-suggestion-item:hover {
        background-color: #f8f9fa;
    }
    
    .search-suggestion-item i {
        color: #8e8e93;
        margin-right: 10px;
        width: 16px;
        text-align: center;
    }
}

/* =================================
   MOBILE INFO MODAL
   ================================= */

@media (max-width: 1150px) {
    .mobile-info-dialog {
        margin: 0;
        width: 100%;
        height: 100vh;
        max-width: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }
    
    .mobile-info-dialog .modal-body {
        flex: 1;
        overflow-y: auto;
        padding: 20px;
    }
    
    /* Mobile Newsletter Section */
    .mobile-newsletter-section {
        margin-bottom: 30px;
        background-color: #fff;
        padding: 10px 25px 25px 25px;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
        transition: opacity 0.5s ease-out;
    }
    
    .mobile-newsletter-section h3 {
        color: #1a2b3b;
        margin-bottom: 12px;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .mobile-newsletter-section h3 i {
        color: #007AFF;
    }
    
    .mobile-newsletter-section p {
        color: #4a5568;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .mobile-newsletter-inputs {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .mobile-newsletter-inputs input,
    .mobile-newsletter-inputs select {
        padding: 12px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        font-size: 1rem;
        background: #fff;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    
    /* Dropdown-pil endast för select-element */
    .mobile-newsletter-inputs select {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 40px;
    }
    
    /* Säkerställ att email-fält inte får dropdown-pil */
    .mobile-newsletter-inputs input[type="email"] {
        background-image: none !important;
        padding-right: 12px;
    }
    
    .mobile-newsletter-btn {
        background: #007AFF;
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: background-color 0.2s;
    }
    
    .mobile-newsletter-btn:hover {
        background: #0056b3;
    }
    
    .mobile-newsletter-checkbox {
        margin-top: 15px;
    }
    
    .mobile-newsletter-checkbox label {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        color: #4a5568;
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .mobile-newsletter-checkbox input[type="checkbox"] {
        margin-top: 3px;
    }
    
    /* Divider */
    .mobile-info-divider {
        height: 1px;
        background: #e0e0e0;
        margin: 30px 0;
        transition: opacity 0.5s ease-out;
    }
    
    /* Info Links */
    .mobile-info-links h3 {
        color: #1a2b3b;
        margin-bottom: 20px;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .mobile-info-links h3 i {
        color: #007AFF;
    }
    
    .mobile-info-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding-bottom: 40px;
    }
    
    .mobile-info-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 15px;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.2s;
        text-align: center;
    }
    
    .mobile-info-item:hover {
        background: #e2e8f0;
        transform: translateY(-2px);
    }
    
    .mobile-info-item i {
        font-size: 1.5rem;
        color: #007AFF;
        margin-bottom: 8px;
    }
    
    .mobile-info-item span {
        color: #1a2b3b;
        font-size: 0.9rem;
        font-weight: 500;
    }
}

/* Mobile Map Filter */
@media (max-width: 1150px) {
    .mobile-map-filter-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1000;
        background: #fff;
        border: none;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .mobile-map-filter-btn:hover {
        background: #f0f0f0;
        transform: scale(1.05);
    }
    
    .mobile-map-filter-btn i {
        color: #345a8a;
        font-size: 18px;
    }
    
    .mobile-map-home-btn {
        position: absolute;
        top: 20px;
        right: 80px;
        z-index: 1000;
        background: #fff;
        border: none;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .mobile-map-home-btn:hover {
        background: #f0f0f0;
        transform: scale(1.05);
    }
    
    .mobile-map-home-btn i {
        color: #345a8a;
        font-size: 18px;
    }
    
    .mobile-map-filter-panel {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        z-index: 999000;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }
    
    .mobile-map-filter-panel.active {
        transform: translateY(0);
    }
    
    .mobile-filter-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }
    
    .mobile-filter-header h3 {
        margin: 0;
        color: #345a8a;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .mobile-filter-close {
        background: none;
        border: none;
        color: #666;
        font-size: 18px;
        cursor: pointer;
        padding: 5px;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }
    
    .mobile-filter-close:hover {
        background: #e0e0e0;
    }
    
    .mobile-filter-content {
        padding: 20px;
    }
    
    .mobile-filter-section {
        margin-bottom: 20px;
    }
    
    .mobile-filter-section label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #333;
    }
    
    .mobile-filter-section select {
        width: 100%;
        padding: 12px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        font-size: 1rem;
        background: #fff;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 40px;
    }
    
    .mobile-filter-buttons {
        display: flex;
        gap: 12px;
        margin-top: 25px;
    }
    
    .mobile-filter-apply {
        flex: 1;
        background: #345a8a;
        color: white;
        border: none;
        padding: 14px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.2s;
    }
    
    .mobile-filter-apply:hover {
        background: #2a4a7a;
    }
    
    .mobile-filter-reset {
        flex: 1;
        background: #f8f9fa;
        color: #666;
        border: 1px solid #e0e0e0;
        padding: 14px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.2s;
    }
    
    .mobile-filter-reset:hover {
        background: #e9ecef;
    }
}

/* Membership Modal Styles */
.membership-container {
    padding: 0;
}

.membership-intro {
    text-align: center;
    margin-bottom: 30px;
}

.membership-intro h3 {
    color: #1a3a5d;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.membership-intro p {
    color: #6c7a89;
    font-size: 1rem;
    margin: 0;
}

.membership-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.membership-plan {
    background: white;
    border: 1px solid #ebe6e7;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.membership-plan:hover {
    border-color: #345a8a;
    transform: translateY(-1px);
}

.basic-plan {
    border-color: #345a8a;
}

.basic-plan:hover {
    border-color: #1a3a5d;
}

.premium-plan {
    border-color: #345a8a;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.premium-plan:hover {
    border-color: #1a3a5d;
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #345a8a;
    color: white;
    padding: 5px 35px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.plan-header h4 {
    color: #1a3a5d;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.plan-price {
    margin-bottom: 25px;
}

.plan-price .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #345a8a;
}

.premium-plan .plan-price .price {
    color: #1a3a5d;
}

.plan-price .period {
    font-size: 1rem;
    color: #6c7a89;
    font-weight: 500;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #1a3a5d;
    font-size: 0.95rem;
}

.plan-features li i {
    color: #345a8a;
    margin-right: 10px;
    width: 16px;
    font-size: 0.9rem;
}

.premium-plan .plan-features li i.fa-star,
.premium-plan .plan-features li i.fa-bell,
.premium-plan .plan-features li i.fa-comments,
.premium-plan .plan-features li i.fa-chat,
.premium-plan .plan-features li i.fa-priority-high {
    color: #345a8a;
}

.upgrade-btn {
    background: #345a8a;
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.upgrade-btn:hover {
    background: #1a3a5d;
}

.plan-badge {
    background: #345a8a;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.premium-plan .plan-badge {
    background: #1a3a5d;
    color: white;
}

.membership-footer {
    text-align: center;
    border-top: 1px solid #ebe6e7;
    padding-top: 20px;
}

.membership-footer p {
    color: #6c7a89;
    font-size: 0.9rem;
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.membership-footer i {
    color: #345a8a;
}

/* Mobile Membership Styles */
@media (max-width: 1150px) {
    .mobile-membership-container {
        padding: 20px;
    }
    
    .mobile-membership-intro {
        text-align: center;
        margin-bottom: 25px;
    }
    
    .mobile-membership-intro h3 {
        color: #1a3a5d;
        font-size: 1.4rem;
        margin-bottom: 10px;
        font-weight: 600;
    }
    
    .mobile-membership-intro p {
        color: #6c7a89;
        font-size: 0.95rem;
        margin: 0;
        line-height: 1.5;
    }
    
    .mobile-membership-plans {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .mobile-membership-plan {
        background: white;
        border: 2px solid #ebe6e7;
        border-radius: 16px;
        padding: 24px 20px;
        text-align: center;
        position: relative;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
    }
    
    .mobile-membership-plan:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    }
    
    .mobile-membership-plan.basic-plan {
        border-color: #345a8a;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    }
    
    .mobile-membership-plan.premium-plan {
        border-color: #345a8a;
        background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
        border-width: 3px;
        position: relative;
    }
    
    .mobile-membership-plan.premium-plan::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #345a8a, #4a6ba3, #345a8a);
        background-size: 200% 100%;
        animation: shimmer 3s ease-in-out infinite;
    }
    
    @keyframes shimmer {
        0% { background-position: -200% 0; }
        100% { background-position: 200% 0; }
    }
    
    .mobile-popular-badge {
        position: absolute;
        top: 16px;
        right: -30px;
        background: linear-gradient(135deg, #345a8a, #4a6ba3);
        color: white;
        padding: 6px 35px;
        font-size: 0.8rem;
        font-weight: 700;
        transform: rotate(45deg);
        box-shadow: 0 2px 8px rgba(52, 90, 138, 0.3);
        letter-spacing: 0.5px;
    }
    
    .mobile-plan-header h4 {
        color: #1a3a5d;
        font-size: 1.4rem;
        margin-bottom: 16px;
        font-weight: 800;
        letter-spacing: -0.5px;
    }
    
    .mobile-plan-price {
        margin-bottom: 24px;
    }
    
    .mobile-plan-price .price {
        font-size: 2.2rem;
        font-weight: 900;
        color: #345a8a;
        line-height: 1;
        margin-bottom: 4px;
        display: block;
    }
    
    .mobile-membership-plan.premium-plan .mobile-plan-price .price {
        color: #1a3a5d;
        background: linear-gradient(135deg, #345a8a, #4a6ba3);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .mobile-plan-price .period {
        font-size: 1rem;
        color: #6c7a89;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .mobile-plan-features ul {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: left;
    }
    
    .mobile-plan-features li {
        display: flex;
        align-items: flex-start;
        margin-bottom: 14px;
        color: #1a3a5d;
        font-size: 0.95rem;
        line-height: 1.5;
        padding: 4px 0;
    }
    
    .mobile-plan-features li i {
        color: #345a8a;
        margin-right: 12px;
        width: 18px;
        font-size: 0.9rem;
        flex-shrink: 0;
        margin-top: 2px;
    }
    
    .mobile-membership-plan.premium-plan .mobile-plan-features li i.fa-star,
    .mobile-membership-plan.premium-plan .mobile-plan-features li i.fa-bell,
    .mobile-membership-plan.premium-plan .mobile-plan-features li i.fa-comments,
    .mobile-membership-plan.premium-plan .mobile-plan-features li i.fa-chat,
    .mobile-membership-plan.premium-plan .mobile-plan-features li i.fa-priority-high {
        color: #345a8a;
        font-size: 1rem;
    }
    
    .mobile-upgrade-btn {
        background: linear-gradient(135deg, #345a8a, #4a6ba3);
        color: white;
        border: none;
        padding: 18px 25px;
        border-radius: 12px;
        font-size: 1.05rem;
        font-weight: 700;
        cursor: pointer;
        width: 100%;
        margin-top: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(52, 90, 138, 0.3);
        letter-spacing: 0.3px;
    }
    
    .mobile-upgrade-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(52, 90, 138, 0.4);
    }
    
    .mobile-upgrade-btn:active {
        transform: translateY(0);
        background: linear-gradient(135deg, #1a3a5d, #345a8a);
    }
    
    .mobile-plan-badge {
        background: linear-gradient(135deg, #345a8a, #4a6ba3);
        color: white;
        padding: 12px 24px;
        border-radius: 30px;
        font-size: 0.9rem;
        font-weight: 700;
        margin-top: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        box-shadow: 0 3px 10px rgba(52, 90, 138, 0.3);
        letter-spacing: 0.3px;
    }
    
    .mobile-membership-plan.premium-plan .mobile-plan-badge {
        background: linear-gradient(135deg, #1a3a5d, #345a8a);
        color: white;
    }
    
    .mobile-membership-footer {
        text-align: center;
        padding-top: 25px;
        margin-top: 30px;
        padding-bottom: 40px;
        margin: 30px 10px 0 10px;
    }
    
    .mobile-membership-footer p {
        color: #6c7a89;
        font-size: 0.9rem;
        margin: 12px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        line-height: 1.5;
        font-weight: 500;
    }
    
    .mobile-membership-footer i {
        color: #345a8a;
        flex-shrink: 0;
        font-size: 1rem;
    }
    
    .membership-plans {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .membership-plan {
        padding: 20px;
    }
    
    /* Mobile Event Detail Styles */
    .mobile-event-detail-container {
        padding: 40px 20px;
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling på iOS */
    }
    
    .mobile-event-header {
        background: linear-gradient(135deg, #345a8a, #4a6ba3);
        border-radius: 15px;
        padding: 20px;
        margin-bottom: 25px;
        color: white;
        box-shadow: 0 4px 15px rgba(52, 90, 138, 0.2);
    }
    
    .mobile-event-type,
    .mobile-event-date,
    .mobile-event-location {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
        font-size: 0.95rem;
    }
    
    .mobile-event-type:last-child,
    .mobile-event-date:last-child,
    .mobile-event-location:last-child {
        margin-bottom: 0;
    }
    
    .mobile-event-type i,
    .mobile-event-date i,
    .mobile-event-location i {
        font-size: 1.1rem;
        width: 20px;
        text-align: center;
        opacity: 0.9;
    }
    
    .mobile-event-content {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    
    .mobile-event-section {
        background: white;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        border: 1px solid #f0f0f0;
    }
    
    .mobile-event-section h3 {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #345a8a;
        font-size: 1.1rem;
        margin-bottom: 15px;
        font-weight: 600;
    }
    
    .mobile-event-section h3 i {
        font-size: 1rem;
        width: 18px;
        text-align: center;
    }
    
    .mobile-event-section p,
    .mobile-event-section div {
        color: #444;
        line-height: 1.6;
        font-size: 0.95rem;
    }
    
    #mobileEventExtended {
        white-space: pre-line;
        background: #f8f9fa;
        padding: 15px;
        border-radius: 8px;
        border-left: 4px solid #345a8a;
    }
    
    .mobile-comment-form {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }
    
    .mobile-comment-form textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        font-family: inherit;
        resize: vertical;
        margin-bottom: 12px;
        box-sizing: border-box;
    }
    
    .mobile-comment-form textarea:focus {
        outline: none;
        border-color: #345a8a;
        box-shadow: 0 0 0 3px rgba(52, 90, 138, 0.1);
    }
    
    .mobile-comment-form .mobile-btn-primary {
        width: 100%;
        background: #345a8a;
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: background-color 0.2s ease;
    }
    
    .mobile-comment-form .mobile-btn-primary:hover {
        background: #2d4a73;
    }
    
    .mobile-comment-item {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 12px;
        margin-bottom: 20px;
        border-left: 3px solid #345a8a;
    }
    
    .mobile-comment-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 8px;
    }
    
    .mobile-comment-user {
        font-weight: bold;
        color: #333;
        font-size: 0.9rem;
    }
    
    .mobile-comment-text {
        color: #444;
        line-height: 1.5;
        font-size: 0.9rem;
    }
    
    .mobile-comment-actions {
        margin-top: 10px;
        padding-top: 8px;
        border-top: 1px solid #e0e0e0;
    }
    
    .mobile-reply-btn {
        background: none;
        border: none;
        color: #345a8a;
        font-size: 0.85rem;
        padding: 4px 8px;
        cursor: pointer;
        border-radius: 4px;
        transition: background-color 0.2s ease;
    }
    
    .mobile-reply-btn:hover {
        background-color: #f0f4f8;
    }
    
    .mobile-reply-btn i {
        margin-right: 4px;
        font-size: 0.8rem;
    }
    
    .mobile-reply-form-container {
        margin-top: 10px;
        padding: 10px;
        background: white;
        border-radius: 6px;
        border: 1px solid #e0e0e0;
    }
    
    .mobile-reply-form textarea {
        width: 100%;
        border: 1px solid #ddd;
        border-radius: 6px;
        padding: 10px;
        font-size: 0.9rem;
        font-family: inherit;
        resize: vertical;
        min-height: 80px;
        margin-bottom: 10px;
        box-sizing: border-box;
    }
    
    .mobile-reply-form textarea:focus {
        outline: none;
        border-color: #345a8a;
        box-shadow: 0 0 0 2px rgba(52, 90, 138, 0.1);
    }
    
    .mobile-reply-form-buttons {
        display: flex;
        gap: 8px;
        justify-content: flex-end;
    }
    
    .mobile-submit-reply,
    .mobile-cancel-reply {
        padding: 8px 16px;
        border: none;
        border-radius: 6px;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .mobile-submit-reply {
        background: #345a8a;
        color: white;
    }
    
    .mobile-submit-reply:hover {
        background: #2a4a7a;
    }
    
    .mobile-submit-reply i {
        margin-right: 4px;
        font-size: 0.8rem;
    }
    
    .mobile-cancel-reply {
        background: #f8f9fa;
        color: #666;
        border: 1px solid #ddd;
    }
    
    .mobile-cancel-reply:hover {
        background: #e9ecef;
    }
    
    /* Mobile Message Detail View */
    .mobile-message-detail-container {
        padding: 0;
    }
    
    .mobile-message-detail-header {
        padding: 20px;
        border-bottom: 1px solid #e0e0e0;
        background: #f8f9fa;
    }
    
    .mobile-message-subject {
        font-size: 1.2rem;
        font-weight: bold;
        color: #333;
        margin: 0 0 12px 0;
        line-height: 1.3;
    }
    
    .mobile-message-meta {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .mobile-message-date {
        display: none;
        align-items: center;
        gap: 6px;
        color: #666;
        font-size: 0.9rem;
    }
    
    .mobile-message-date i {
        font-size: 0.8rem;
    }
    
    .mobile-message-type .message-type-badge {
        font-size: 0.8rem;
        padding: 4px 8px;
        border-radius: 12px;
        font-weight: 500;
    }
    
    .mobile-message-detail-content {
        padding: 20px;
    }
    
    .mobile-message-text {
        color: #444;
        line-height: 1.6;
        font-size: 0.95rem;
    }
    
    .mobile-action-btn {
        background: none;
        border: none;
        color: #345a8a;
        font-size: 1.1rem;
        cursor: pointer;
        padding: 8px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.2s ease;
    }
    
    .mobile-view-header .mobile-action-btn {
        color: white;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }
    
    .mobile-action-btn:hover {
        background-color: rgba(52, 90, 138, 0.1);
    }
    
    .mobile-view-header .mobile-action-btn:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    /* Mobile Search View */
    .mobile-search-container {
        padding: 40px 20px;
    }
    
    .mobile-search-description {
        margin-bottom: 25px;
    }
    
    .mobile-search-description h3 {
        color: #345a8a;
        font-size: 1.1rem;
        margin: 0 0 12px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-align: center;
    }
    
    .mobile-search-description p {
        color: #666;
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 0;
    }
    
    .mobile-quick-search {
        margin: 25px 0;
        padding: 20px 0;
        border-top: 1px solid #e9ecef;
    }
    
    .mobile-quick-search h4 {
        color: #345a8a;
        font-size: 1rem;
        margin: 0 0 15px 0;
        font-weight: 600;
    }
    
    .quick-search-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .quick-search-btn {
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        color: #495057;
        padding: 10px 16px;
        border-radius: 20px;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }
    
    .quick-search-btn:hover,
    .quick-search-btn:active {
        background: #345a8a;
        border-color: #345a8a;
        color: white;
        transform: translateY(-1px);
    }
    
    .quick-search-btn i {
        font-size: 0.8rem;
    }
    
    .mobile-search-form {
        margin-bottom: 20px;
    }
    
    .mobile-search-loading,
    .mobile-search-error,
    .mobile-search-no-results {
        text-align: center;
        padding: 40px 20px;
        color: #666;
    }
    
    .mobile-search-loading i,
    .mobile-search-error i,
    .mobile-search-no-results i {
        font-size: 2rem;
        margin-bottom: 15px;
        display: block;
    }
    
    .mobile-search-loading i {
        color: #345a8a;
    }
    
    .mobile-search-error i {
        color: #e74c3c;
    }
    
    .mobile-search-no-results i {
        color: #95a5a6;
    }
    
    .mobile-search-results {
        padding: 20px;
        margin-top: 20px;
    }
    
    .mobile-search-results-list {
        margin-top: 15px;
    }
    
    .mobile-search-results-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .mobile-search-results-header h3 {
        margin: 0 0 5px 0;
        font-size: 1.1rem;
        color: #333;
    }
    
    .mobile-search-results-header p {
        margin: 0;
        font-size: 0.85rem;
        color: #666;
    }
    
    .mobile-search-result-item {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 12px;
        border-left: 3px solid #345a8a;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .mobile-search-result-item:hover {
        background: #e9ecef;
        transform: translateY(-1px);
    }
    
    .mobile-search-result-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 8px;
    }
    
    .mobile-search-result-header h4 {
        margin: 0;
        font-size: 0.95rem;
        color: #333;
        line-height: 1.3;
        flex: 1;
        margin-right: 10px;
    }
    
    .mobile-search-result-time {
        font-size: 0.8rem;
        color: #666;
        white-space: nowrap;
    }
    
    .mobile-search-result-location {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 8px;
        font-size: 0.85rem;
        color: #666;
    }
    
    .mobile-search-result-location i {
        color: #e74c3c;
        font-size: 0.8rem;
    }
    
    .mobile-search-result-summary {
        font-size: 0.85rem;
        color: #555;
        line-height: 1.4;
    }
}

/* =================================
   ADMIN PANEL STYLING
   ================================= */

/* Admin Body */
.admin-body {
    background: #f5f7fa;
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
}

/* Modern Admin Header */
.modern-admin-header {
    background: linear-gradient(135deg, #1a3a5d 0%, #345a8a 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #ffb347;
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.admin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.admin-branding {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-logo i {
    font-size: 2rem;
    color: #ffb347;
}

.admin-logo h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.admin-badge {
    background: #ffb347;
    color: #1a3a5d;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 10px;
}

.admin-welcome {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.admin-navigation {
    display: flex;
    align-items: center;
}

.admin-nav-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.admin-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.admin-nav-btn.secondary {
    background: rgba(255, 179, 71, 0.2);
    border-color: #ffb347;
}

.admin-nav-btn.secondary:hover {
    background: rgba(255, 179, 71, 0.3);
}

.admin-nav-btn.logout {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.5);
}

.admin-nav-btn.logout:hover {
    background: rgba(220, 53, 69, 0.3);
}

.admin-nav-btn i {
    font-size: 1rem;
}

/* Main Admin Content */
.admin-main {
    padding: 30px 0;
    min-height: calc(100vh - 200px);
}

/* Statistics Cards */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.stat-content h3 {
    margin: 0 0 8px 0;
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}

.stat-content p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Filter Section */
.admin-filter-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.filter-header {
    margin-bottom: 20px;
}

.filter-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-header i {
    color: #3498db;
}

.modern-filter-form {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.modern-select {
    padding: 10px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.modern-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Events Section */
.modern-events-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.events-header {
    background: #f8f9fa;
    padding: 24px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.events-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.events-header i {
    color: #3498db;
}

.events-count {
    background: #3498db;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Table Container */
.modern-table-container {
    overflow-x: auto;
}

.modern-events-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.modern-events-table thead th {
    background: #f8f9fa;
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #e9ecef;
    font-size: 0.85rem;
    white-space: nowrap;
}

.modern-events-table thead th i {
    margin-right: 6px;
    color: #7f8c8d;
}

.modern-event-row {
    transition: all 0.2s ease;
}

.modern-event-row:hover {
    background: #f8f9fa;
}

.modern-events-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
}

/* Cell Specific Styling */
.datetime-cell {
    min-width: 120px;
}

.datetime-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.datetime-info .date {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.datetime-info .time {
    color: #7f8c8d;
    font-size: 0.8rem;
}

.location-cell {
    max-width: 200px;
}

.location-cell i {
    color: #e74c3c;
    margin-right: 6px;
}

.type-cell {
    min-width: 120px;
}

.event-type-badge {
    background: #3498db;
    color: white;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-cell {
    min-width: 200px;
}

.status-indicators {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.status-badge.unverified {
    background: #ffe6e6;
    color: #e74c3c;
    border: 1px solid #f5b7b1;
}

.status-badge.verified {
    background: #e8f5e8;
    color: #27ae60;
    border: 1px solid #a9dfbf;
}

.status-badge.no-message {
    background: #fff3cd;
    color: #f39c12;
    border: 1px solid #f7dc6f;
}

.status-badge.has-message {
    background: #e3f2fd;
    color: #3498db;
    border: 1px solid #90caf9;
}

.status-badge i {
    font-size: 0.7rem;
}

/* Action Buttons */
.action-cell {
    min-width: 100px;
}

.admin-edit-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.admin-edit-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.admin-edit-btn i {
    font-size: 0.75rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.empty-icon {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 20px;
}

.empty-state h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.empty-state p {
    margin: 0;
    font-size: 1rem;
}

/* No Data Styling */
.no-data {
    color: #bdc3c7;
    font-style: italic;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1000px) {
    .admin-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .admin-nav-buttons {
        width: 100%;
        justify-content: flex-start;
    }
    
    .admin-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 1150px) {
    .admin-container {
        padding: 0 15px;
    }
    
    .modern-admin-header {
        padding: 15px 0;
    }
    
    .admin-logo h1 {
        font-size: 1.5rem;
    }
    
    .admin-nav-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .admin-nav-btn span {
        display: none;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
        margin-bottom: 20px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .admin-filter-section,
    .modern-events-section {
        margin: 0 -15px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .events-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .modern-events-table {
        font-size: 0.8rem;
    }
    
    .modern-events-table td {
        padding: 12px 8px;
    }
    
    .status-indicators {
        gap: 4px;
    }
    
    .status-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}

/* Admin Modal Styling */
.modal-dialog.large {
    max-width: 800px;
}

/* Modern Form Styling */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #3498db;
    width: 16px;
}

.form-control {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #2c3e50;
    background: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-control::placeholder {
    color: #bdc3c7;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-help {
    color: #7f8c8d;
    font-size: 0.8rem;
    margin-top: 4px;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #27ae60;
    cursor: pointer;
}

.checkbox-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #2c3e50;
    margin: 0;
}

.checkbox-label i {
    color: #27ae60;
}

/* Link Button */
.link-btn {
    background: none;
    border: 2px solid #3498db;
    color: #3498db;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.link-btn:hover {
    background: #3498db;
    color: white;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.btn-primary.large,
.btn-secondary.large {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary.large {
    background: #27ae60;
    color: white;
}

.btn-primary.large:hover {
    background: #229954;
    transform: translateY(-1px);
}

.btn-secondary.large {
    background: #95a5a6;
    color: white;
}

.btn-secondary.large:hover {
    background: #7f8c8d;
}

/* Modern Edit Button */
.modern-edit-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.modern-edit-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.modern-edit-btn i {
    font-size: 0.75rem;
}

/* Actions Cell */
.actions-cell {
    min-width: 100px;
    text-align: center;
}

/* Form Responsive */
@media (max-width: 1150px) {
    .modal-dialog.large {
        max-width: 95%;
        margin: 20px auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-primary.large,
    .btn-secondary.large {
        width: 100%;
        justify-content: center;
    }
    
    .modern-edit-btn span {
        display: none;
    }
}

/* Tvåstegsregistrering styles */
.registration-step {
    transition: all 0.3s ease;
}

#verificationCode {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

#verificationCode:focus {
    border-color: #0984e3;
    box-shadow: 0 0 0 3px rgba(9, 132, 227, 0.1);
    background: white;
}

#verificationCountdown {
    font-size: 0.85rem;
    color: #636e72;
    text-align: center;
    margin-top: 10px;
}

#resendVerificationCode {
    background: none;
    border: none;
    color: #0984e3;
    text-decoration: underline;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

#resendVerificationCode:hover {
    color: #0066cc;
}

#resendVerificationCode:disabled {
    color: #999;
    cursor: not-allowed;
    opacity: 0.5;
}

#backToRegistration {
    color: #636e72;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

#backToRegistration:hover {
    color: #2d3436;
    text-decoration: underline;
}

/* Mobila registreringssteg */
.mobile-registration-step {
    transition: all 0.3s ease;
}

#mobileVerificationCode {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

#mobileVerificationCode:focus {
    border-color: #0984e3;
    box-shadow: 0 0 0 3px rgba(9, 132, 227, 0.1);
    background: white;
}

#mobileVerificationCountdown {
    font-size: 0.85rem;
    color: #636e72;
    text-align: center;
    margin-top: 10px;
}

#mobileResendCode {
    transition: color 0.2s ease;
}

#mobileResendCode:hover {
    color: #0066cc !important;
}

#mobileResendCode:disabled {
    color: #999 !important;
    cursor: not-allowed;
    opacity: 0.5;
}

/* =================================
   ADMIN CREATE EVENT MODAL STYLING
   ================================= */

.events-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.create-event-btn {
    background-color: #28a745 !important;
    color: white !important;
    border: none !important;
    padding: 10px 16px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
}

.create-event-btn:hover {
    background-color: #218838 !important;
    transform: translateY(-1px);
}

.create-event-btn i {
    font-size: 12px;
}

#createEventModal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    animation: fadeIn 0.3s ease;
}

#createEventModal .modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

#createEventModal .modal-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 20px 25px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#createEventModal .modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

#createEventModal .modal-header .close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

#createEventModal .modal-header .close:hover {
    background-color: rgba(255,255,255,0.2);
}

#createEventModal .modal-body {
    padding: 25px;
}

#createEventModal .form-group {
    margin-bottom: 20px;
}

#createEventModal .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

#createEventModal .form-group input,
#createEventModal .form-group textarea,
#createEventModal .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

#createEventModal .form-group input:focus,
#createEventModal .form-group textarea:focus,
#createEventModal .form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

#createEventModal .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

#createEventModal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

#createEventModal .form-row .form-group {
    margin-bottom: 0;
}

#createEventModal .modal-footer {
    padding: 20px 25px;
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

#createEventModal .modal-footer button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

#createEventModal .modal-footer .cancel-btn {
    background-color: #6c757d;
    color: white;
}

#createEventModal .modal-footer .cancel-btn:hover {
    background-color: #5a6268;
}

#createEventModal .modal-footer .create-btn {
    background-color: #28a745;
    color: white;
}

#createEventModal .modal-footer .create-btn:hover {
    background-color: #218838;
}

#createEventModal .modal-footer .create-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

/* Telegram-integration styling */
.telegram-subscription-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #e9ecef;
}

.subscription-info {
    flex: 1;
}

.subscription-info strong {
    color: #345a8a;
    font-size: 0.9rem;
}

.subscription-info small {
    display: block;
    margin-top: 2px;
}

.subscription-actions {
    display: flex;
    gap: 8px;
}

.btn-test-telegram,
.btn-remove-telegram {
    padding: 4px 8px;
    font-size: 0.8rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-test-telegram {
    background: #28a745;
    color: white;
}

.btn-test-telegram:hover {
    background: #218838;
}

.btn-remove-telegram {
    background: #dc3545;
    color: white;
}

.btn-remove-telegram:hover {
    background: #c82333;
}

.telegram-add-form {
    margin-top: 15px;
}

.telegram-add-form .form-row {
    display: flex;
    gap: 10px;
    align-items: end;
}

.telegram-add-form .form-group {
    flex: 1;
    margin-bottom: 0;
}

.telegram-add-form .form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.telegram-add-form .btn-secondary {
    padding: 8px 16px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.telegram-add-form .btn-secondary:hover {
    background: #5a6268;
}

/* Mobile Telegram styling */
.mobile-telegram-subscription-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 6px;
    border: 1px solid #e9ecef;
}

.mobile-subscription-info {
    flex: 1;
}

.mobile-subscription-info strong {
    color: #345a8a;
    font-size: 0.85rem;
}

.mobile-subscription-info small {
    display: block;
    margin-top: 2px;
    font-size: 0.75rem;
}

.mobile-subscription-actions {
    display: flex;
    gap: 6px;
}

.mobile-btn-test-telegram,
.mobile-btn-remove-telegram {
    padding: 3px 6px;
    font-size: 0.75rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-btn-test-telegram {
    background: #28a745;
    color: white;
}

.mobile-btn-test-telegram:hover {
    background: #218838;
}

.mobile-btn-remove-telegram {
    background: #dc3545;
    color: white;
}

.mobile-btn-remove-telegram:hover {
    background: #c82333;
}

.mobile-telegram-add-form {
    margin-top: 12px;
}

.mobile-telegram-add-form .mobile-form-group {
    margin-bottom: 8px;
}

.mobile-telegram-add-form .mobile-form-control {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.85rem;
}

.mobile-telegram-add-form .mobile-btn-secondary {
    padding: 6px 12px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s;
    width: 100%;
}

.mobile-telegram-add-form .mobile-btn-secondary:hover {
    background: #5a6268;
}

/* Responsive design för mobil */
@media (max-width: 768px) {
    #createEventModal .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }

    #createEventModal .modal-header,
    #createEventModal .modal-body,
    #createEventModal .modal-footer {
        padding: 15px 20px;
    }

    #createEventModal .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Premium Required Notice */
.premium-required-notice {
    background: linear-gradient(135deg, #e8f0f8 0%, #f0f5fa 100%);
    border: 1px solid #345a8a;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(52, 90, 138, 0.1);
}

.premium-required-notice .premium-notice-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.premium-required-notice .premium-notice-content i.fa-crown {
    font-size: 2rem;
    color: #345a8a;
    margin-bottom: 5px;
}

.premium-required-notice .premium-notice-content h4 {
    color: #345a8a;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
}

.premium-required-notice .premium-notice-content p {
    color: #495057;
    margin: 0;
    line-height: 1.5;
}

.premium-required-notice .notice-icon {
    font-size: 2rem;
    color: #345a8a;
    margin-bottom: 15px;
}

.premium-required-notice h3 {
    color: #345a8a;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.premium-required-notice p {
    color: #495057;
    margin-bottom: 20px;
    line-height: 1.5;
}

.premium-required-notice .upgrade-btn,
.premium-required-notice .upgrade-link {
    background: linear-gradient(135deg, #345a8a 0%, #4a6ba3 100%) !important;
    color: white !important;
    border: none !important;
    padding: 14px 28px !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(52, 90, 138, 0.3) !important;
    margin-top: 10px !important;
}

.premium-required-notice .upgrade-btn:hover,
.premium-required-notice .upgrade-link:hover {
    background: linear-gradient(135deg, #2d4a73 0%, #345a8a 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(52, 90, 138, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
}

.premium-required-notice .upgrade-btn:active,
.premium-required-notice .upgrade-link:active {
    transform: translateY(0) !important;
    box-shadow: 0 4px 12px rgba(52, 90, 138, 0.3) !important;
    background: linear-gradient(135deg, #1a3a5d 0%, #2d4a73 100%) !important;
}

.premium-required-notice .upgrade-btn i,
.premium-required-notice .upgrade-link i {
    font-size: 0.9rem;
}

/* Mobile Premium Required Notice */
@media (max-width: 1150px) {
    .premium-required-notice {
        margin: 15px 0;
        padding: 16px;
        border-radius: 10px;
    }
    
    .premium-required-notice .premium-notice-content {
        gap: 10px;
    }
    
    .premium-required-notice .premium-notice-content i.fa-crown {
        font-size: 1.8rem;
        margin-bottom: 4px;
    }
    
    .premium-required-notice .premium-notice-content h4 {
        font-size: 1.1rem;
    }
    
    .premium-required-notice .premium-notice-content p {
        font-size: 0.9rem;
    }
    
    .premium-required-notice .notice-icon {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .premium-required-notice h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .premium-required-notice p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }
    
    .premium-required-notice .upgrade-btn,
    .premium-required-notice .upgrade-link {
        padding: 14px 24px !important;
        font-size: 1rem !important;
        width: 100% !important;
        max-width: 220px !important;
        justify-content: center !important;
        margin-top: 12px !important;
        border-radius: 10px !important;
    }
    
    /* Mobile specific premium notice styling */
    .mobile-premium-notice {
        margin: 20px 0;
        padding: 20px;
    }
}
/* Desktop Quick Search Buttons */
.desktop-quick-search-btn:hover,
.desktop-quick-search-btn:active {
    background: #345a8a !important;
    border-color: #345a8a !important;
    color: white !important;
    transform: translateY(-1px);
}

.desktop-quick-search-btn:hover i,
.desktop-quick-search-btn:active i {
    color: white !important;
}