:root {
    --primary: #0f172a; /* Navy */
    --accent: #ca8a04;  /* Gold */
    --accent-light: #fef08a; /* Soft Gold */
    --bg: #f8fafc;
    --text: #1e293b;
    --bubble-bot: #ffffff;
    --bubble-user: #0f172a;
    --glass: rgba(255, 255, 255, 0.7);
    --border: rgba(226, 232, 240, 0.8);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
    color: var(--text);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-container {
    display: flex;
    width: 90vw;
    height: 85vh;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid var(--glass);
}

/* Sidebar Styling */
.sidebar {
    width: 300px;
    background: var(--primary);
    color: white;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
}

.salon-header {
    margin-bottom: 50px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--accent-light);
}

.logo span {
    color: white;
    font-weight: 300;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.salon-info h3 {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 10px;
    margin-top: 30px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 10px;
}

.online-indicator {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px #4ade80;
}

.quick-links {
    margin-top: auto;
}

.quick-links h4 {
    font-size: 0.8rem;
    opacity: 0.5;
    margin-bottom: 15px;
}

.quick-links button {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-links button:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* Chat Main Area */
.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.4);
}

.chat-header {
    padding: 30px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.avatar {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    margin-right: 15px;
}

.recipient-status h2 {
    font-size: 1.1rem;
    font-weight: 600;
}

.recipient-status p {
    font-size: 0.85rem;
    opacity: 0.6;
}

.reset-btn {
    margin-left: auto;
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--primary);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.reset-btn:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fecaca;
}

/* Messages Area */
.chat-messages {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message {
    max-width: 80%;
    display: flex;
    flex-direction: column;
}

.message.bot {
    align-self: flex-start;
}

.message.user {
    align-self: flex-end;
}

.bubble {
    padding: 16px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.bot .bubble {
    background: var(--bubble-bot);
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.user .bubble {
    background: var(--bubble-user);
    color: white;
    border-bottom-right-radius: 4px;
}

/* Markdown Specifics */
.bubble table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    overflow: hidden;
}

.bubble th, .bubble td {
    padding: 10px;
    border: 1px solid var(--border);
    text-align: left;
}

.bubble th {
    background: #f1f5f9;
    font-weight: 600;
}

.bubble p {
    margin-bottom: 8px;
}

.bubble ul, .bubble ol {
    padding-left: 20px;
    margin-bottom: 8px;
}

/* Input Area */
.chat-input-area {
    padding: 30px;
    background: white;
    border-top: 1px solid var(--border);
}

.input-wrapper {
    display: flex;
    gap: 15px;
    background: #f1f5f9;
    padding: 10px;
    border-radius: 100px;
    align-items: center;
    border: 1px solid var(--border);
}

#userInput {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 20px;
    font-size: 1rem;
    outline: none;
    color: var(--text);
}

#sendBtn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s, background 0.2s;
}

#sendBtn:hover {
    background: var(--accent);
    transform: scale(1.05);
}

#sendBtn svg {
    width: 20px;
    height: 20px;
}

/* Scrollbar */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
}
