.title-container {
    margin-bottom: 30px;
}

.title-container .section-subtitle {
    max-width: unset;
    margin-bottom: 25px;
}

.public-profile-container {
        padding: 0 0 50px 0;
    }

    .profile-banner {
        background: linear-gradient(135deg, #0A5B35 0%, #0d7345 100%);
        position: relative;
        overflow: hidden;
    }

    .profile-banner::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 400px;
        height: 400px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
    }

    .profile-banner::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -5%;
        width: 300px;
        height: 300px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 50%;
    }

    .profile-header-content {
        display: flex;
        align-items: center;
        gap: var(--spacing);
        margin-bottom: var(--spacing);
        position: relative;
        z-index: 1;
    }

    .edit-profile-btn {
        margin-left: auto;
        padding: calc(var(--spacing) * 0.7) calc(var(--spacing) * 1);
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: var(--radius);
        font-size: 14px;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: calc(var(--spacing) - 10px);
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        flex-shrink: 0;
    }

    .edit-profile-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
        color: white;
        text-decoration: none;
    }

    .profile-avatar-large {
        flex-shrink: 0;
    }

    .public-profile-container .avatar-img {
        width: 140px;
        height: 140px;
        border-radius: 50%;
        object-fit: cover;
        border: 5px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    .public-profile-container .avatar-placeholder {
        width: 75px;
        height: 75px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        border: 5px solid rgba(255, 255, 255, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    .public-profile-container .avatar-placeholder svg {
        width: 35px;
        height: 35px;
    }

    .profile-header-info {
        flex: 1;
        font-size: 14px !important;
        font-weight: 400;
        color: #fff;
    }

    .profile-header-info .user-name {
        font-size: 20px;
        font-weight: 600;
        color: white;
        display: block;
        margin: 0 0 0.5rem 0;
        max-width: unset;
    }

    .user-handle {
        font-size: 1.25rem;
        color: rgba(255, 255, 255, 0.85);
        margin: 0 0 1rem 0;
    }

    .user-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .meta-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: rgba(255, 255, 255, 0.9);
        font-size: 14px;
    }

    .profile-stats-banner {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing);
        position: relative;
        z-index: 1;
    }

    .stat-card {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border-radius: var(--radius);
        padding: var(--spacing);
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    .stat-number {
        display: block;
        font-size: 20px;
        font-weight: 600;
        color: #f7fafc;
        margin: 5px 0 0 0;
        background: linear-gradient(135deg, #c9a037 0%, #fbbf24 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .stat-label {
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        line-height: var(--line-height);
        margin: 0;
    }

    /* User Information Section */
    .user-info-section {
        margin: calc(var(--spacing) * 2) 0 0 0;
    }

    .info-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: var(--spacing);
    }

    .breeder-card {
        border-color: #D4AF37;
        background: linear-gradient(to bottom, rgba(212, 175, 55, 0.02), white);
    }

    .verified-badge-header {
        padding: 0.35rem 0.85rem;
        background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
        color: #1F2937;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 700;
        box-shadow: 0 2px 6px rgba(212, 175, 55, 0.3);
    }

    .info-list {
        display: flex;
        flex-direction: column;
        gap: var(--spacing);
    }

    .info-item {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0px;
        background: transparent;
        border: 0px;
    }

    .info-label {
        font-size: 14px;
        color: #6B7280;
    }

    .info-value {
        font-size: 14px;
        color: #000000;
        text-align: right;
    }

    .info-value.verified {
        color: #059669;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .info-value.unverified {
        color: #DC2626;
    }

    .info-value.blocked {
        color: #DC2626;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .info-value.active {
        color: #059669;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .file-link {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        color: #0A5B35;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .file-link:hover {
        color: #0d7345;
        text-decoration: none;
    }

    .online-status {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .status-indicator {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        flex-shrink: 0;
    }

    .status-indicator.online {
        background: #10B981;
        box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    }

    .status-indicator.away {
        background: #F59E0B;
        box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
    }

    .status-indicator.offline {
        background: #6B7280;
        box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.2);
    }

    .device-info {
        font-size: 12px;
        color: #6B7280;
        word-break: break-all;
        max-width: 200px;
        line-height: 1.4;
    }

    .profile-content {
        margin-top: 3rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
        font-weight: 700;
        color: #1F2937;
        margin: 0 0 0.5rem 0;
    }

    .section-header p {
        font-size: 1rem;
        color: #6B7280;
        margin: 0;
    }

    .listings-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .listing-card {
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border: 1px solid #E5E7EB;
        transition: all 0.3s ease;
        text-decoration: none;
        color: inherit;
    }

    .listing-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(10, 91, 53, 0.15);
        text-decoration: none;
    }

    .listing-image {
        position: relative;
        height: 200px;
        overflow: hidden;
        background: #F3F4F6;
    }

    .listing-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .listing-placeholder {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #9CA3AF;
    }

    .boost-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
        color: #1F2937;
        padding: 0.35rem 0.75rem;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 700;
        box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    }

    .listing-info {
        padding: 1.25rem;
    }

    .listing-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #1F2937;
        margin: 0 0 0.5rem 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .listing-breed {
        font-size: 0.9rem;
        color: #0A5B35;
        font-weight: 500;
        margin: 0 0 0.75rem 0;
    }

    .listing-details {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.75rem;
        font-size: 0.85rem;
        color: #6B7280;
    }

    .listing-location {
        display: flex;
        align-items: center;
        gap: 0.35rem;
    }

    .listing-price {
        font-size: 1.25rem;
        font-weight: 700;
        color: #0A5B35;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid #E5E7EB;
    }

    .no-listings {
        text-align: center;
        padding: 5rem 2rem;
        background: white;
        border-radius: 20px;
        border: 1px solid #E5E7EB;
        color: #6B7280;
    }

    .no-listings svg {
        margin: 0 auto 1.5rem;
        color: #9CA3AF;
    }

    .no-listings h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #1F2937;
        margin: 0 0 0.75rem 0;
    }

    .no-listings p {
        font-size: 1rem;
        margin: 0;
    }

    .pagination-wrapper {
        margin-top: 2.5rem;
    }

    @media (max-width: 767.98px) {
        .public-profile-container {
            padding: 0 0 40px 0;
        }

        .profile-banner {
            padding: 2rem 1.5rem;
            margin-bottom: 2rem;
        }

        .profile-header-content {
            flex-direction: column;
            text-align: center;
            gap: 1.5rem;
        }

        .edit-profile-btn {
            margin-left: 0;
            width: 100%;
            justify-content: center;
        }

        .public-profile-container .avatar-img,
        .public-profile-container .avatar-placeholder {
            width: 100px;
            height: 100px;
        }

        .user-handle {
            font-size: 1rem;
        }

        .user-meta {
            justify-content: center;
            gap: 1rem;
        }

        .profile-stats-banner {
            grid-template-columns: repeat(2, 1fr);
        }

        .section-header h2 {
            font-size: 1.5rem;
        }

        .listings-grid {
            grid-template-columns: 1fr;
        }

        .info-grid {
            grid-template-columns: 1fr;
        }

        .verified-badge-header {
            width: 100%;
            text-align: center;
            margin-top: 0.5rem;
        }
    }

/* ===== EDIT PROFILE STYLES ===== */
    .profile-edit-container {
        padding: 0 0 70px 0;
    }

    .page-header {
        margin-bottom: 2rem;
    }

    .header-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-left {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .back-link {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: #0A5B35;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        width: fit-content;
    }

    .back-link:hover {
        color: #0d7345;
        text-decoration: none;
        gap: 0.75rem;
    }

    .header-title h1 {
        font-size: 2.25rem;
        font-weight: 700;
        color: #1F2937;
        margin: 0 0 0.5rem 0;
    }

    .header-title p {
        font-size: 1.05rem;
        color: #6B7280;
        margin: 0;
    }

    /* Page Header */
    .settings-page-header {
        margin-bottom: 3rem;
        text-align: center;
    }

    .page-heading {
        font-size: 2.5rem;
        font-weight: 700;
        color: #1F2937;
        margin: 0 0 0.75rem 0;
    }

    .page-description {
        font-size: 1.1rem;
        color: #6B7280;
        margin: 0;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Settings Layout */
    .settings-layout {
        display: flex;
        flex-direction: column;
        gap: var(--spacing);
    }

    /* Sidebar Styles */
    .settings-sidebar {
        display: flex;
        flex-direction: column;
        gap: var(--spacing);
    }

    .settings-sidebar .settings-nav {
        display: flex;
        justify-content: space-between;
        gap: var(--spacing);
    }

    .settings-nav-item svg {
        opacity: 0.7;
        flex-shrink: 0;
        transition: opacity 0.2s ease;
        height: 15px;
        width: 15px;
    }

    .settings-nav-item:hover {
        background: #f9fafb;
        color: #0A5B35;
    }

    .settings-nav-item:hover svg {
        opacity: 1;
    }

    .settings-nav-item {
        color: #0A5B35;
        background: #f6f8fa;
        width: 25%;
    }

    .settings-nav-item.active {
        background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
        color: #fff;
    }

    .settings-nav-item.active svg {
        opacity: 1;
    }

    /* Settings Content */
    .settings-section {
        display: none;
        animation: fadeIn 0.3s ease;
    }

    .settings-section .card {
        margin: 0px;
        padding: calc(var(--spacing) * 4);
    }

    .settings-section.active {
        display: block;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .settings-card {
        background: white;
        border-radius: 16px;
        padding: 2.25rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        border: 1px solid #E5E7EB;
        transition: all 0.3s ease;
    }

    .settings-card:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }

    .danger-card {
        display: flex;
        flex-direction: column;
    }

    @media (max-width: 1024px) {
        .settings-layout {
            grid-template-columns: 1fr;
        }

        .settings-sidebar {
            position: static;
        }

        .settings-nav {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.5rem;
        }

        .settings-nav-item span {
            display: none;
        }

        .settings-nav-item {
            justify-content: center;
        }
    }

    @media (max-width: 768px) {
        .profile-edit-container {
            padding: 0 0 40px 0;
        }

        .settings-section .card {
            padding: var(--spacing);
        }

        .settings-page-header {
            margin-bottom: 2rem;
        }

        .page-heading {
            font-size: 1.875rem;
        }

        .page-description {
            font-size: 1rem;
        }

        .settings-nav {
            grid-template-columns: 1fr;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
        }

        .settings-nav-item span {
            display: inline;
        }

        .settings-nav-item {
            width: calc(50% - 8px);
            justify-content: flex-start;
        }

        .form-row {
            grid-template-columns: 1fr;
            gap: 0;
        }

        .header-title h1 {
            font-size: 1.75rem;
        }

        .header-title p {
            font-size: 0.95rem;
        }

        .settings-card {
            padding: 1.75rem;
        }
    }

/* Readonly input styling */
.readonly-input {
    background-color: #f9fafb !important;
    color: #6b7280 !important;
    cursor: not-allowed !important;
    border-color: #d1d5db !important;
}

.readonly-input:focus {
    border-color: #d1d5db !important;
    box-shadow: none !important;
    outline: none !important;
}

.readonly-hint {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    font-style: normal;
    line-height: 1.4;
    background-color: #f8fafc;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    border-left: 3px solid #3b82f6;
}

/* Current Profile Image Display */
.current-image-container {
    padding: var(--spacing);
    background-color: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.current-image-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.75rem;
}

.current-image-wrapper {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid #e5e7eb;
}

.current-image-wrapper:hover {
    transform: scale(1.05);
    border-color: #fbbf24;
}

.current-profile-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.current-image-wrapper:hover .current-profile-image {
    opacity: 0.8;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.current-image-wrapper:hover .image-overlay {
    opacity: 1;
}

.upload-icon {
    margin-bottom: 0.25rem;
}

.upload-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
}
