/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #451224;
    --primary-gradient: linear-gradient(148deg, rgba(69, 18, 36, 1) 0%, rgba(84, 7, 14, 1) 100%);
    --secondary-color: #F5F7FA;
    --text-primary: #1A1A1A;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
    --badge-blue: #451224;
    --badge-red: #EF4444;
    --accent-cream: #F5EADD;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Page rouge pour desktop */
.desktop-block {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #451224;
    background: linear-gradient(148deg, rgba(69, 18, 36, 1) 0%, rgba(84, 7, 14, 1) 100%);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.desktop-block.show {
    display: flex;
}

.desktop-message {
    text-align: center;
    color: white;
    padding: 40px;
}

.desktop-message h1 {
    font-size: 80px;
    margin-bottom: 20px;
}

.desktop-message h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 600;
}

.desktop-message p {
    font-size: 18px;
    opacity: 0.9;
}

/* Contenu mobile */
.mobile-content {
    display: block;
    min-height: 100vh;
    padding-bottom: 80px;
}

.mobile-content.hide {
    display: none;
}

/* Header */
.page-header {
    background: white;
    padding: 20px 20px 15px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Search Bar */
.search-bar {
    position: relative;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: none;
    border-radius: 15px;
    background: var(--secondary-color);
    font-size: 15px;
    color: var(--text-secondary);
}

.search-bar i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 18px;
}

/* Sections */
.section {
    padding: 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* Grid de profils */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.profile-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 20px 15px 15px;
}

.profile-card-name {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

/* Chat Page */
.activities-section {
    background: white;
    padding: 20px;
    margin-bottom: 10px;
}

.activities-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
}

.activities-scroll::-webkit-scrollbar {
    display: none;
}

.activity-item {
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.activity-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 8px;
}

.activity-name {
    font-size: 13px;
    color: var(--text-primary);
    margin-top: 4px;
}

/* Messages */
.messages-section {
    background: white;
    padding: 20px;
}

.message-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
}

.message-item:hover {
    background: var(--secondary-color);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.message-item:last-child {
    border-bottom: none;
}

.message-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.message-content {
    flex: 1;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.message-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.message-time {
    font-size: 13px;
    color: var(--text-secondary);
}

.message-preview {
    font-size: 14px;
    color: var(--text-secondary);
}

.message-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--badge-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

/* Profile Page */
.profile-header {
    position: relative;
    height: 250px;
    background: #451224;
    background: linear-gradient(148deg, rgba(69, 18, 36, 1) 0%, rgba(84, 7, 14, 1) 100%);
}

.profile-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-main {
    background: white;
    padding: 20px;
    margin-top: -50px;
    border-radius: 30px 30px 0 0;
    position: relative;
}

.profile-avatar-container {
    position: absolute;
    top: -60px;
    left: 20px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: var(--shadow-md);
}

.profile-info {
    margin-top: 70px;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
}

.certified-badge {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badges-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-stage {
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.badge-new {
    background: #eef2ff;
    color: #4338ca;
}

.badge-noncert {
    background: #fff7ed;
    color: #c2410c;
}

.badge-pending {
    background: #fef9c3;
    color: #854d0e;
}

.badge-premium {
    background: #fef3c7;
    color: #b45309;
}

.profile-job {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.profile-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 25px;
    justify-content: center;
    align-items: center;
}

.verification-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    margin: 20px 0;
}
.verification-desc {
    padding-bottom : 10px;
}

.verification-card h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.verification-status {
    margin: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verification-status.pending { color: #b45309; }
.verification-status.approved { color: #16a34a; }
.verification-status.rejected { color: #dc2626; }

.verification-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.upload-field {
    background: #f9fafb;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.upload-field input {
    font-size: 13px;
}

.btn-verify {
    padding: 12px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.notif-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    padding: 20px;
}

.notif-modal.active {
    display: flex;
}

.notif-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 420px;
    max-height: 75vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    padding: 16px;
}

.notif-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.notif-modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.notif-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notif-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
}
.notif-item.unread {
    background: rgba(69, 18, 36, 0.08);
    border-color: rgba(69, 18, 36, 0.2);
}

.notif-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(69, 18, 36, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #451224;
    font-size: 16px;
}

.notif-user {
    font-weight: 700;
    color: #451224;
    text-decoration: none;
    margin-right: 4px;
}

.notif-text {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.notif-time {
    font-size: 12px;
    color: #777;
}

.notif-link {
    color: #451224;
    text-decoration: underline;
    font-weight: 600;
}

.notif-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #EF4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.notif-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #EF4444;
    border: 2px solid white;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.profile-about {
    margin: 25px 0;
}

.about-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.profile-looking {
    margin: 25px 0;
}

.looking-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.looking-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 10px 20px;
    border-radius: 25px;
    background: var(--secondary-color);
    font-size: 14px;
    color: var(--text-primary);
}



.profile-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Shopping Page */
.carousel-container {
    background: white;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
}

.carousel-item {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16/10;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--badge-red);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 30px 20px 20px;
    color: white;
}

.carousel-title {
    font-size: 22px;
    font-weight: 700;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

/* Liste des partenaires */
.partners-list {
    background: white;
    border-radius: 20px;
    padding: 20px;
}

.partner-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.partner-item:last-child {
    border-bottom: none;
}

.partner-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.partner-info {
    flex: 1;
}

.partner-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.partner-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.partner-arrow {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 20px;
}

/* Events Page */
.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.event-image-container {
    position: relative;
    aspect-ratio: 16/9;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-overlay {
    position: absolute;
    bottom: 0;
    left0%);
    padding: 30px 20px 20px;
}

.event-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.event-participants {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
}

.participants-avatars {
    display: flex;
    margin-right: 10px;
}

.participant-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
    object-fit: cover;
}

.participant-avatar:first-child {
    margin-left: 0;
}

.participants-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.event-button {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 15px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.event-button:hover {
    background: var(--primary-color);
    color: white;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-item {
    color: var(--text-secondary);
    font-size: 24px;
    padding: 8px 16px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item:hover {
    color: var(--primary-color);
}

.nav-badge {
    position: absolute;
    top: 7px;
    right: 10px;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--badge-red);
    border: 2px solid white;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.04);
    z-index: 2;
}

.nav-badge-red {
    background: var(--badge-red);
}

.nav-badge-dot {
    width: 14px;
    min-width: 14px;
}

/* Anti-zoom iOS lors du focus sur les champs (font-size >= 16px) */
input,
textarea,
select,
button {
    font-size: 16px;
}

/* Responsive - Tablette */
@media (min-width: 768px) and (max-width: 1024px) {
    .profiles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .profile-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Masquer sur desktop */
@media (min-width: 1025px) {
    .desktop-block {
        display: flex !important;
    }
    
    .mobile-content {
        display: none !important;
    }
}

x !important;
    }
    
    .mobile-content {
        display: none !important;
    }
}

