* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
    background-color: #FCFCFD;
    color: hsl(202, 24%, 15%);
    line-height: 1.5 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-weight: 600;
}

.container {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Navigation */
.navigation {
    display: flex;
    width: 100%;
    padding: 16px 32px;
    justify-content: space-between;
    align-items: center;
    background-color: #FFF;
    position: relative;
    z-index: 20;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 45px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    color: #1E2A31;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s;
}

.nav-item.active {
    background-color: #F4F6F7;
}

.nav-item:hover {
    background-color: #F4F8FA;
}

.nav-icon {
    width: 20px;
    height: 20px;
}

.schedule-btn {
    display: flex;
    padding: 8px 14px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 200px;
    border: 1px solid #C9CACA;
    background: #FFF;
    color: #666868;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    margin-left: 12px;
    transition: background-color 0.2s;
    cursor: pointer;
}

.schedule-btn:hover {
    background-color: #F4F8FA;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-bell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #F4F8FA;
}

.notification-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 12px;
    height: 12px;
    background-color: #B89160;
    border-radius: 50%;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.user-menu:hover {
    background-color: #F4F8FA;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    color: #1E2A31;
    font-weight: 600;
    font-size: 14px;
}

/* Main content */
.main-content {
    position: relative;
    z-index: 10;
    margin: 0 24px 24px;
}

.content-wrapper {
    background: #FFFCF7;
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid #E7CFB1;
    min-height: 928px;
}

.content-inner {
    background: #FFFCF7;
    margin: 0 96px;
    padding: 24px;
    min-height: 928px;
}

.content-grid {
    display: flex;
    gap: 24px;
      flex-direction: row;
  width: 100%;
}

.left-column {
    width: 464px;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.left-profile-column {
    width: 284px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.right-column {
    flex: 1;
}

.center-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Profile card */
.profile-card {
    width: 100%;
    max-width: 448px;
}

.profile-header {
    background: #FFF;
    border-radius: 16px 16px 0 0;
    border: 1px solid #DEDFE0;
    border-bottom: none;
}

.profile-info {
    display: flex;
    padding: 16px;
    gap: 16px;
}

.profile-photo {
    width: 124px;
    height: 98px;
    border-radius: 16px;
    object-fit: cover;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.profile-name {
    color: #1E2A31;
    font-size: 30px;
    font-weight: 600;
    line-height: 38px;
}

.profile-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-meta p {
    color: #666868;
    font-size: 16px;
}

.profile-actions {
    background: #FFF;
    border-radius: 0 0 16px 16px;
    border: 1px solid #DEDFE0;
    box-shadow: 0px 8px 16px 0px rgba(145, 158, 171, 0.16);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 8px;
}

.btn {
    display: flex;
    padding: 8px 14px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 200px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid;
    transition: all 0.2s;
}

.btn-primary {
    background: #CCA879;
    color: #FFF;
    border-color: #CCA879;
}

.btn-primary:hover {
    background: #C19C6D;
    border-color: #C19C6D;
}

.btn-secondary {
    background: #FFF;
    color: #666868;
    border-color: #C9CACA;
}

.btn-secondary:hover {
    background: #F4F8FA;
}

/* Ready to Connect card */
.ready-card {
    width: 100%;
    max-width: 448px;
    background: #FFF;
    border-radius: 16px;
    border: 1px solid #DEDFE0;
}

.ready-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #DEDFE0;
}

.ready-title {
    color: #1E2A31;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
}

.ready-body {
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 16px;
}

.ready-text {
    color: #666868;
    font-size: 14px;
    line-height: 20px;
}

/* Connections card */
.connections-card {
    width: 100%;
    max-width: 448px;
    background: #FFF;
    border-radius: 16px;
    border: 1px solid #DEDFE0;
}

.connections-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    gap: 12px;
    border-bottom: 1px solid #DEDFE0;
}

.connections-badge {
    display: flex;
    padding: 2px 8px;
    margin-bottom: 8px;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    background: #FDEBD3;
    color: #C19C6D;
    font-size: 12px;
    font-weight: 600;
}

.connections-title {
    flex: 1;
    color: #1E2A31;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
}

.connections-grid {
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 10px;
}

.avatar-row {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
    justify-content: space-between;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #DFE3E8;
    overflow: hidden;
}

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

.avatar-more {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F4F6F7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7D7F7F;
    font-size: 14px;
    font-weight: 600;
}

/* Next Event section */
.event-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.event-header h2 {
    color: #666868;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
    line-height: 30px;
    flex: 1;
}

.event-date {
    color: #1E2A31;
    font-size: 16px;
    margin-bottom: 8px;
}

.event-card {
    background: #FFF;
    border-radius: 6px;
    border: 1px solid #DEDFE0;
    padding: 24px;
}

.event-banner {
    position: relative;
    margin-bottom: 16px;
}

.event-image {
    width: 100%;
    height: 224px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #DEDFE0;
}

.event-title-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 290px;
}

.event-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.event-title {
    color: #1E2A31;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
}

.event-rsvp-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    margin-bottom: 8px;
    border-radius: 6px;
    background: #FDEBD3;
    color: #B89160;
    font-size: 14px;
    font-weight: 600;
}

.event-subtitle {
    color: #4B4D4D;
    font-size: 18px;
    line-height: 28px;
}

.event-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.timeline-dot {
    width: 28px;
    height: 28px;
    background: #dedfe0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.gift-icon {
    font-size: 14px;
}

.timeline-line {
    position: absolute; /* Ensure it stays to the left of the row */
    left: 13px; /* Align it to the left of the row */
    width: 2px; /* Set the width of the line */
    height: 100%; /* Make it span the height of the row */
    background: #dedfe0; /* Set the grey color */
    z-index: 1; /* Ensure it stays behind other elements */
}

.detail-card {
    border: 1px solid #DEDFE0;
    border-radius: 4px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 10px;
}

.detail-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 4px;
}

.detail-title {
    color: #1E2A31;
    font-size: 18px;
    font-weight: 600;
}

.detail-text {
    color: #4B4D4D;
    font-size: 18px;
}

.event-description {
    color: #4B4D4D;
    font-size: 16px;
    overflow: hidden;
}


.description-fade {
    position: absolute;
    bottom: 10%;
    left: 70%;
    right: 10%;
    height: 98px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFF 57.69%);
    display: flex;
    align-items: end;
    justify-content: end;
    padding: 0 24px 12px;
}

.profile-completion-circle {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.circular-chart {
  display: block;
}

.circle-bg {
  fill: none;
  stroke: #eee;
  stroke-width: 5;  
}

.circle {
  fill: none;
  stroke: var(--bs-primary);
  stroke-width: 5.5;  
  stroke-linecap: round;
  animation: progress 1s ease-out forwards;
}

.card {
  box-shadow: none !important;
}

@keyframes progress {
  0% {
    stroke-dasharray: 0 100;
  }
}

/* Responsive design */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .content-inner {
        margin: 0 48px;
    }

    .content-grid {
        flex-direction: column;
    }

    .left-column {
        width: 100%;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .navigation {
        padding: 16px;
    }

    .content-inner {
        margin: 0 12px;
        padding: 12px;
    }

    .member-show-container {
        padding: 0;
        background-color: #FFFCF7;
        border-top: #DEDFE0 1px solid;
    }

    .main-content {
        position: relative;
        z-index: 10;
        margin-top: 24px;
        padding: 0;
    }

    .content-wrapper {
        background: #FFFCF7;
        border: 0;
        min-height: 928px;
    }

    .content-inner {
        background: #FFFCF7;
        margin: 0;
        padding: 0;
    }

    .content-grid {
        display: flex;
        gap: 24px;
    }

    .user-name {
        display: none;
    }

    .event-title-section {
        flex-direction: column;
        align-items: stretch;
    }

    .event-details-grid {
        grid-template-columns: 1fr;
    }

    .center-column {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .left-profile-column {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0px;
    }
}

.form-section {
  border-radius: 0;
  margin-top: 48px !important;
}

@media (min-width: 768px) {
  .form-section {
    border-top-right-radius: 0.75rem !important;
    border-bottom-right-radius: 0.75rem !important;
  }
}

@media (max-width: 767px) {
  .form-section {
    border-bottom-left-radius: 0.75rem !important;
    border-bottom-right-radius: 0.75rem !important;
    margin-top: 0 !important;
  }
}
