@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

:root {
    --heartlink-red: #DA003AFF;
    --heartlink-dark: #212529;
    --heartlink-gray: #6c757d;
    --heartlink-light-bg: #f8f9fa;
}

.text-heartlink {
    color: var(--heartlink-red);
}

.logo img {
    max-height: 43px;
    color: var(--heartlink-red);
}

.btn-heartlink {
    background-color: var(--heartlink-red);
    color: white;
    border: none;
}

.btn-heartlink:hover {
    background-color: #d81557;
    color: white;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--heartlink-red);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.search-icon {
    background: none;
    border: none;
    position: relative;
}

header {
    border-bottom: 1px solid red;
}

.stats-container {
    padding: 3rem 0;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--heartlink-red);
}

.stat-label {
    color: var(--heartlink-gray);
}

.hero-section {
    padding: 4rem 0;
    text-align: center;
}

.find-match-button {
    position: relative;
    top: -1rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: var(--heartlink-gray);
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.gender-buttons {
    margin-top: 1rem;
}

.gender-button {
    background-color: white;
    color: var(--heartlink-dark);
    border: 1px solid #dee2e6;
    margin: 0 0.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--heartlink-gray);
    text-align: center;
    margin-bottom: 2.5rem;
}

.how-it-works {
    padding: 4rem 0;
    text-align: center;
}

.step-circle {
    width: 100px;
    height: 100px;
    background-color: #fce4ec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-circle i {
    color: var(--heartlink-red);
    font-size: 2.5rem;
}

.step-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.step-description {
    color: var(--heartlink-gray);
    max-width: 300px;
    margin: 0 auto;
}

.featured-profiles {
    padding: 4rem 0;
    background-color: white;
}

.profile-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.profile-image {
    height: 200px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-info {
    padding: 1.2rem;
}

.profile-name-age {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.profile-location {
    display: inline-block;
    background-color: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--heartlink-gray);
}

.profile-bio {
    color: var(--heartlink-gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.profile-interests {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.interest-tag {
    background-color: #f8f9fa;
    color: var(--heartlink-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.profile-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.action-icon {
    color: var(--heartlink-gray);
    cursor: pointer;
}

.action-icon:hover {
    color: var(--heartlink-red);
}

.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--heartlink-red);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.why-section {
    background-color: var(--heartlink-light-bg);
    padding: 3.5rem 0;
}

.why-card {
    margin-bottom: 1.5rem;
}

.why-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.why-description {
    color: var(--heartlink-gray);
}

.discover-section {
    padding: 4rem 0;
}

.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    opacity: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.more-tags {
    display: inline-block;
    color: var(--heartlink-gray);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.discovery-profile {
    margin-bottom: 1rem;
}

body.chat-conversation {
    .message {
        padding: 15px;
        margin-bottom: 10px;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.2s;
        position: relative;
    }

    .message.closed {
        background-color: #f8f9fa;
        border-left: 3px solid #0d6efd;
    }
}
