/* GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: linear-gradient(135deg, #ffd6e7, #f3a6c7);
    min-height: 100vh;
    padding: 30px;
    color: #333;
}

/* NAVBAR */
.navbar {
    width: 100%;
    padding: 18px 40px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    color: #d81b60;
}

.nav-links a {
    margin-left: 25px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #d81b60;
}


/* HEADER */
header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 36px;
    color: #d81b60;
}

/* SECTION CARDS */
section {
    background: rgba(255, 240, 247, 0.85); /* light pink glass */
    backdrop-filter: blur(10px);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(216, 27, 96, 0.15);
}

/* FORM */
form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #ddd;
}

button {
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    background: linear-gradient(45deg, #ff6fa5, #d81b60);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: scale(1.05);
}

/* FILTER */
.filters input {
    width: 45%;
    margin: 10px 2%;
}

/* SHARING CARDS */
.sharing-card {
     background: #fff0f6;  /* soft light pink */
    padding: 18px;
    margin: 15px 0;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(216, 27, 96, 0.12);
    transition: 0.3s;
}

.sharing-card:hover {
    transform: translateY(-5px);
}

.sharing-card h3 {
    color: #d81b60;
    margin-bottom: 6px;
}

.status-available {
    color: green;
    font-weight: bold;
}

.status-matched {
    color: red;
    font-weight: bold;
}

.accept-btn {
    margin-top: 10px;
}

.accept-btn {
    margin-top: 10px;
    padding: 6px 12px;
    border: none;
    background: #ff6f91;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.accept-btn:disabled {
    background: gray;
    cursor: not-allowed;
}
.extra-details {
    background: #fff0f6;
    padding: 8px;
    border-radius: 8px;
}

/* Chat message styling */
#chatMessages p {
    margin: 6px 0;
    padding: 6px 8px;
    background: #ffe0ec;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: right;
}

.chat-delete {
    cursor: pointer;
    color: #d81b60;
    font-weight: 600;
    font-size: 13px;
    margin-left: 10px;
}
