/* Modern Profile Styles */
.modern-profile {
    max-width: 1200px;
    margin: 100px auto 20px;
    padding: 0 20px;
    position: relative;
}

/* Preloader Styles */
.profile-preloader {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    position: absolute;
    right: 0;
    left: 0;
    padding: 0 20px;
    backdrop-filter: blur(50px);
}

#profile-content{
    animation: fadeInUp 0.6s ease-out;
}

.profile-header-preloader {
    display: flex;
    gap: 40px;
    padding: 0 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
}

.avatar-preloader {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 25px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.info-preloader {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.username-preloader {
    width: 200px;
    height: 32px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 8px;
    margin-bottom: 25px;
}

.stats-preloader {
    display: flex;
    gap: 50px;
    margin-bottom: 25px;
}

.stat-preloader-item {
    text-align: center;
    padding: 10px 15px;
    border-radius: 12px;
    min-width: 80px;
}

.stat-number-preloader {
    display: block;
    width: 30px;
    height: 24px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 6px;
    margin: 0 auto 4px;
}

.stat-label-preloader {
    width: 60px;
    height: 14px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 4px;
    margin: 0 auto;
}

.profile-actions-preloader {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 20px;
}

.edit-btn-preloader {
    width: 130px;
    height: 40px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 12px;
}

.logout-btn-preloader {
    width: 44px;
    height: 40px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 12px;
}

.badge-preloader {
    width: 120px;
    height: 32px;
    background: linear-gradient(90deg, rgba(255,107,107,0.2) 25%, rgba(238,90,36,0.3) 50%, rgba(255,107,107,0.2) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 12px;
    margin-top: 15px;
    display: none;
}

.nav-preloader {
    display: flex;
    justify-content: center;
    gap: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    padding: 20px 0 30px;
}

.nav-tab-preloader {
    width: 100px;
    height: 44px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 8px;
}

.content-preloader {
    min-height: 400px;
}

.grid-preloader {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.card-preloader {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 344px;
    position: relative;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.card-preloader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.image-preloader {
    width: 100%;
    height: 220px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.text-preloader {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.title-preloader {
    width: 70%;
    height: 18px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite 1s;
    border-radius: 4px;
}

.desc-preloader {
    width: 90%;
    height: 14px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite 1.2s;
    border-radius: 4px;
}

.date-preloader {
    width: 80px;
    height: 12px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite 1.4s;
    border-radius: 4px;
    margin-top: 5px;
}

.empty-state-preloader {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon-preloader {
    width: 80px;
    height: 80px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 50%;
    margin: 0 auto 25px;
}

.empty-title-preloader {
    width: 200px;
    height: 24px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 6px;
    margin: 0 auto 15px;
}

.empty-desc-preloader {
    width: 300px;
    height: 16px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 4px;
    margin: 0 auto 30px;
}

.empty-btn-preloader {
    width: 150px;
    height: 44px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 12px;
    margin: 0 auto;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Profile Header */
.profile-header-modern {
    display: flex;
    gap: 40px;
    padding: 0 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.profile-avatar-section {
    flex-shrink: 0;
    position: relative;
}

.avatar-container-modern {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-avatar-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 20s ease;
}

.avatar-container-modern:hover .profile-avatar-modern {
    transform: scale(1.1);
}

.profile-info-modern {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-header-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.profile-username {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.profile-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.edit-profile-btn {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 8px;
}

.edit-profile-btn:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.1) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
}

.logout-btn-modern {
    background: linear-gradient(135deg, rgba(255, 59, 59, 0.15) 0%, rgba(255, 59, 59, 0.1) 100%);
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 59, 59, 0.2);
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logout-btn-modern:hover {
    background: linear-gradient(135deg, rgba(255, 59, 59, 0.25) 0%, rgba(255, 59, 59, 0.15) 100%);
    border-color: rgba(255, 59, 59, 0.3);
    color: white;
}

.profile-stats-modern {
    display: flex;
    gap: 50px;
    margin-bottom: 25px;
}

.stat-item {
    text-align: center;
    cursor: auto;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 12px;
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 4px;
    font-feature-settings: "tnum";
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-badge-modern {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    color: white;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(238, 90, 36, 0.3);
}

/* Profile Navigation */
.profile-nav-modern {
    display: flex;
    justify-content: center;
    gap: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 15px;
    margin-bottom: 40px;
    padding-top: 10px;
}

.nav-tab-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-tab-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(1deg, #ffffff 0%, #ffffff00 100%);
    border-radius: 3px;
    box-shadow: 1px 5px 11px 0px #ffffff;
    transition: width 0.3s ease;
}

.nav-tab-modern.active {
    color: rgba(255, 255, 255, 0.95);
}

.nav-tab-modern.active::after {
    width: 100%;
}

.nav-tab-modern:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.nav-tab-modern svg {
    transition: transform 0.3s ease;
}

.nav-tab-modern:hover svg {
    transform: scale(1.1);
}

/* Markers Grid */
.markers-grid-modern {
    padding: 0 0 16px 0;
    animation: 0.3s fadeInUp ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.marker-card-modern {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.marker-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.marker-card-modern:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.marker-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.marker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.marker-card-modern:hover .marker-image img {
    transform: scale(1.05);
}

.marker-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    color: rgba(255, 255, 255, 0.3);
}

.marker-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.9) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    opacity: 1;
    transition: all 0.3s ease;
    padding-bottom: 20px;
}

.marker-actions-modern {
    display: flex;
    gap: 10px;
    padding: 12px;
    opacity: 1;
    flex-direction: column-reverse;
    transform: translateY(-10px);
    transition: all 0.3s ease 0.1s;
    transform: translateY(0);
}

.action-btn-modern {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: translateY(0px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgb(255, 255, 255);
    backdrop-filter: blur(20px);
    stroke-width: 3;
}

.action-btn-modern:hover {
    transform: translateY(-2px) scale(1.03) !important;
    stroke-width: 4;
}

.action-btn-modern.favorite.active {
    background: rgba(255, 215, 0, 0.25);
    color: #ffd700;
}

.action-btn-modern.favorite.active:hover {
    background: rgba(255, 215, 0, 0.35);
}

.marker-info-modern {
    padding: 20px;
}

.marker-info-modern h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.marker-info-modern p {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.marker-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}

.marker-date::before {
    content: '•';
    color: rgba(255, 255, 255, 0.3);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.empty-state svg {
    margin-bottom: 25px;
    opacity: 0.5;
    width: 80px;
    height: 80px;
}

.empty-state h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 500;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
}

.empty-state p {
    margin: 0 0 30px 0;
    font-size: 15px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
}

/* Guest View */
.guest-view-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 40px 20px;
}

.guest-content {
    text-align: center;
    max-width: 500px;
    animation: fadeIn 0.8s ease-out;
    padding: 40px;
}

.guestsvg {
    margin-bottom: 30px;
    opacity: 0.5;
    width: 100px;
    height: 100px;
    color: white;
}

.login-btn-modern {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
}

.login-btn-modern:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.1) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.login-btn-modern h4 {
    margin: 0;
}

.guest-content h2 {
    margin: 0 0 15px 0;
    font-size: 28px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.guest-content p {
    margin: 0 0 40px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-profile {
        margin: 80px auto 20px;
        padding: 0 15px;
    }

    .profile-preloader {
        padding: 0 15px;
    }
    
    .profile-header-modern {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px 0 10px;
    }
    
    .avatar-container-modern {
        width: 140px;
        height: 140px;
        margin: 0 auto;
    }
    
    .profile-header-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .profile-username {
        font-size: 28px;
    }
    
    .profile-actions {
        justify-content: center;
        width: 100%;
    }
    
    .profile-stats-modern {
        justify-content: center;
        gap: 30px;
        margin: 0;
    }
    
    .stat-item {
        flex: 1;
        min-width: 100px;
    }
    
    .profile-nav-modern {
        gap: 30px;
        overflow-x: auto;
        padding: 10px 0;
        margin: 0 -15px 30px;
        padding: 0 15px;
    }
    
    .nav-tab-modern {
        padding: 15px 0;
        white-space: nowrap;
    }
    
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
    
    .marker-image {
        height: 180px;
    }
    
    .empty-state {
        padding: 60px 15px;
    }
    
    .empty-state h3 {
        font-size: 22px;
    }
    
    .empty-state p {
        font-size: 14px;
    }
    
    .guest-content h2 {
        font-size: 24px;
    }
    
    .guest-content p {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .login-btn-modern {
        padding: 14px 30px;
        justify-content: center;
    }

    .login-btn-modern h4 {
        font-size: 14px;
    }

    .guest-view-modern{
        padding: 0;
    }
    
    /* Preloader responsive */
    .profile-header-preloader {
        flex-direction: column;
        gap: 30px;
        padding: 30px 0 0 0;
        text-align: center;
    }
    
    .avatar-preloader {
        width: 140px;
        height: 140px;
        margin: 0 auto;
    }
    
    .username-preloader {
        margin: 0 auto 92px;
    }
    
    .stats-preloader {
        justify-content: space-around;
        gap: 0;
        flex-wrap: nowrap;
    }
    
    .stat-preloader-item {
        min-width: 100px;
    }
    
    .profile-actions-preloader {
        justify-content: center;
        display: none !important;
    }
    
    .nav-preloader {
        gap: 30px;
        overflow-x: auto;
        padding: 15px;
        margin: 0 -15px 30px;
    }
    
    .nav-tab-preloader {
        flex-shrink: 0;
    }
    
    .grid-preloader {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-preloader {
        height: 320px;
    }
    
    .image-preloader {
        height: 180px;
    }

    .marker-info-modern h4 {
        font-size: 16px;
    }
}

@media (max-width: 560px) {
    .modern-profile {
        margin: 70px auto 20px;
        padding: 0 10px;
    }

    .profile-preloader {
        padding: 0 10px;
    }
    
    .avatar-container-modern {
        width: 120px;
        height: 120px;
    }
    
    .profile-username {
        font-size: 24px;
    }
    
    .profile-stats-modern {
        gap: 0px;
    }
    
    .stat-item {
        min-width: 80px;
        padding: 8px 10px;
    }
    
    .stat-number {
        font-size: 16px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .profile-nav-modern {
        gap: 20px;
    }
    
    .nav-tab-modern {
        font-size: 14px;
        gap: 8px;
        padding: 12px 0;
    }
    
    .marker-card-modern {
        margin: 0;
        border-radius: 12px;
    }
    
    .marker-info-modern {
        padding: 15px;
    }
    
    .marker-info-modern p {
        font-size: 13px;
    }
    
    .edit-profile-btn,
    .logout-btn-modern {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .logout-btn-modern {
        padding: 10px;
    }
    
    .empty-state {
        padding: 40px 10px;
    }
    
    .empty-state svg {
        width: 60px;
        height: 60px;
    }
    
    .empty-state h3 {
        font-size: 20px;
    }
    
    .empty-state p {
        font-size: 13px;
    }
    
    .guest-content {
        padding: 0 10px;
    }
    
    .guestsvg {
        width: 80px;
        height: 80px;
        margin-bottom: 0;
    }
    
    .guest-content h2 {
        font-size: 22px;
    }
    
    .guest-content p {
        font-size: 13px;
    }
    
    /* Preloader mobile */
    .avatar-preloader {
        width: 120px;
        height: 120px;
    }
    
    .username-preloader {
        width: 150px;
        height: 28px;
    }
    
    .stat-preloader-item {
        min-width: 80px;
        padding: 8px 10px;
    }
    
    .stat-number-preloader {
        height: 16px;
    }
    
    .stat-label-preloader {
        width: 50px;
    }
    
    .nav-tab-preloader {
        width: 80px;
        height: 40px;
    }
    
    .edit-btn-preloader {
        width: 140px;
        height: 40px;
    }

    .profile-actions-preloader{
        margin-bottom: 30px;
    }
    
    .logout-btn-preloader {
        width: 40px;
        height: 36px;
    }
    
    .badge-preloader {
        width: 100px;
        height: 28px;
    }
    
    .card-preloader {
        height: 300px;
    }
    
    .image-preloader {
        height: 160px;
    }
    
    .empty-icon-preloader {
        width: 60px;
        height: 60px;
    }
    
    .empty-title-preloader {
        width: 150px;
        height: 22px;
    }
    
    .empty-desc-preloader {
        width: 200px;
        height: 14px;
    }
    
    .empty-btn-preloader {
        width: 130px;
        height: 40px;
    }
}

/* Animation for content */
@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-content-loaded {
    animation: fadeInContent 0.6s ease-out;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        display: none;
    }
}

.photo-count-indicator svg {
    stroke-width: 2.5;
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}