/* ===== Base Reset ===== */
* {
box-sizing: border-box;
}
body {
font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
margin: 0;
min-height: 100vh;
background:
radial-gradient(circle at top left, #e0f2ff, transparent 40%),
radial-gradient(circle at bottom right, #fde2ff, transparent 40%),
linear-gradient(180deg, #f9fbff, #f4f7fb);
color: #1f2a37;
overflow-y: hidden; /* Add this line to hide scroll bar */
}
/* ===== Layout ===== */
.container {
max-width: 1100px;
margin: auto;
padding: 32px 24px 80px;
}
h1 {
text-align: center;
font-size: 2.6rem;
letter-spacing: -0.02em;
}
.subtitle {
text-align: center;
color: #6b7280;
margin-bottom: 40px;
font-size: 1.05rem;
}
section {
margin-top: 40px;
}
/* ===== Floating Glass Panels ===== */
.interest-selector,
.chat-section,
.results-section {
background: rgba(255, 255, 255, 0.75);
backdrop-filter: blur(14px);
border-radius: 20px;
padding: 24px;
box-shadow:
0 20px 40px rgba(0, 0, 0, 0.06),
inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
/* ===== Interest Pills ===== */
.interest-grid {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 16px;
}
.interest-item {
padding: 10px 18px;
border-radius: 999px;
background: #f1f5f9;
cursor: pointer;
font-size: 14px;
font-weight: 500;
transition: all 0.25s ease;
box-shadow: inset 0 0 0 1px #e5e7eb;
}
.interest-item:hover {
transform: translateY(-2px);
background: #e6f0ff;
}
.interest-item.selected {
background: linear-gradient(135deg, #4f9cff, #7dd3fc);
color: white;
box-shadow:
0 8px 20px rgba(79, 156, 255, 0.4);
}
/* ===== Chat ===== */
#chatInput {
width: 100%;
height: 120px;
margin-top: 12px;
padding: 14px;
font-size: 15px;
border-radius: 14px;
border: none;
outline: none;
background: #f8fafc;
box-shadow: inset 0 0 0 1px #e5e7eb;
cursor: auto; /* Explicitly set to auto */
}
#submitChat {
margin-top: 14px;
padding: 12px 26px;
border-radius: 999px;
border: none;
font-size: 15px;
font-weight: 600;
cursor: pointer;
background: linear-gradient(135deg, #4f9cff, #7dd3fc);
color: white;
box-shadow: 0 10px 30px rgba(79, 156, 255, 0.4);
transition: transform 0.2s ease, box-shadow 0.2s ease;
cursor: auto; /* Explicitly set to auto */
}
#submitChat:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 14px 40px rgba(79, 156, 255, 0.5);
}
#submitChat:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* ===== Results Grid ===== */
.results-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
gap: 24px;
margin-top: 20px;
}
/* ===== Result Cards ===== */
.result-card {
background: rgba(255, 255, 255, 0.95);
border-radius: 20px;
padding: 24px;
box-shadow:
0 8px 16px rgba(79, 156, 255, 0.15),
0 20px 40px rgba(0, 0, 0, 0.08);
transition: transform 0.25s ease, box-shadow 0.25s ease;
overflow-wrap: break-word;
min-width: 0;
}
.result-card:hover {
transform: translateY(-6px);
box-shadow:
0 12px 24px rgba(79, 156, 255, 0.3),
0 24px 48px rgba(0, 0, 0, 0.12);
}
.result-card h3 {
margin-top: 0;
margin-bottom: 8px;
}
/* ===== Tags ===== */
.tags {
margin-top: 12px;
display: flex;
gap: 10px;
flex-wrap: nowrap;
align-items: center;
}
.tag {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 4px 12px;
border-radius: 999px;
font-size: 12px;
font-weight: 600;
color: white;
white-space: nowrap;
flex-shrink: 1;
}
.tag.difficulty { background: #94a3b8; }
.tag.cost { background: #4f9cff; }
.tag.location { background: #c084fc; }
.empty-state {
color: #6b7280;
font-style: italic;
}
.tag strong {
margin-right: 6px;
font-weight: 600;
}
/* ===== Login Button ===== */
.login-button {
position: fixed;
top: 20px;
right: 20px;
padding: 10px 20px;
background: linear-gradient(135deg, #4f9cff, #7dd3fc);
color: white;
text-decoration: none;
border-radius: 999px;
font-weight: 600;
transition: transform 0.2s ease, box-shadow 0.2s ease;
z-index: 1000;
box-shadow: 0 10px 30px rgba(79, 156, 255, 0.4);
}
.login-button:hover {
transform: translateY(-2px);
box-shadow: 0 14px 40px rgba(79, 156, 255, 0.5);
}
/* ===== Login Modal ===== */
.modal {
display: none;
position: fixed;
z-index: 1001;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
background-color: #fff;
margin: 10% auto;
padding: 20px;
border-radius: 10px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
width: 90%;
max-width: 400px;
position: relative;
animation: modalFadeIn 0.3s ease-out;
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
line-height: 1;
position: absolute;
top: 15px;
right: 20px;
}
.close:hover {
color: #000;
}
.modal-content h2 {
margin-top: 0;
margin-bottom: 20px;
text-align: center;
}
.input-group {
margin-bottom: 15px;
}
.input-group label {
display: block;
margin-bottom: 5px;
font-weight: 600;
}
.input-group input {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
box-sizing: border-box;
}
.submit-btn {
width: 100%;
padding: 12px;
background: linear-gradient(135deg, #4f9cff, #7dd3fc);
color: white;
border: none;
border-radius: 5px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
margin-top: 10px;
}
.submit-btn:hover {
opacity: 0.9;
}
.modal-footer {
margin-top: 20px;
text-align: center;
}
.forgot-password, .signup-btn {
display: inline-block;
margin: 5px;
text-decoration: none;
color: #4f9cff;
font-size: 14px;
}
.forgot-password:hover, .signup-btn:hover {
text-decoration: underline;
}
@keyframes modalFadeIn {
from { 
opacity: 0; 
transform: translateY(-50px) translateX(-50%); 
}
to { 
opacity: 1; 
transform: translateY(0) translateX(-50%); 
}
}
/* ===== Results Section Fix ===== */
.results-section {
scroll-margin-top: 120px;
margin-top: 200px;
margin-bottom: 60px;
padding: 24px;
min-height: 500px;
}
/* Ensure proper container behavior */
.container {
scroll-behavior: smooth;
min-height: 100vh;
display: flex;
flex-direction: column;
}