/* tanya.css */
body {
    background-color: #e5e5e5;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.t-container {
    max-width: 480px;
    margin: 0 auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #fff0f5;
    background-image: radial-gradient(#ffccd9 2px, transparent 2px);
    background-size: 30px 30px;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* HEADER */
.t-header {
    background: linear-gradient(90deg, #ff7396, #fa5d82);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    flex-shrink: 0;
}

.t-header::before, .t-header::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 50%;
}

.t-header::before {
    width: 30px;
    height: 30px;
    top: -10px;
    right: 40px;
    opacity: 0.1;
}

.t-header::after {
    width: 15px;
    height: 15px;
    top: 25px;
    right: 60px;
    opacity: 0.15;
}

.t-header-circle-3 {
    position: absolute;
    background: white;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    top: 15px;
    right: 80px;
    opacity: 0.2;
}

.t-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.2s;
}

.t-back-btn:hover {
    opacity: 0.8;
}

.t-header-logo-box {
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.9);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    flex-shrink: 0;
    margin-right: 5px;
}

.t-header-logo-box::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px; right: 2px; bottom: 2px;
    border: 1.5px solid rgba(255,255,255,0.9);
    border-radius: 8px;
    background: rgba(255,255,255,0.15);
}

.t-header-logo-box svg {
    z-index: 2;
}

.t-header-info {
    flex: 1;
}

.t-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 1px 0;
    color: white;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.t-subtitle {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

.t-header-actions {
    display: flex;
    gap: 18px;
    color: white;
    font-size: 18px;
    z-index: 2;
}

.t-header-actions i {
    cursor: pointer;
}

/* BACKGROUND DECORATIONS */
.t-bg-decor {
    position: absolute;
    opacity: 0.4;
    font-size: 24px;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.t-decor-1 { top: 100px; right: 30px; font-size: 35px; transform: rotate(15deg); opacity: 0.3; }
.t-decor-2 { top: 220px; left: -15px; font-size: 40px; transform: rotate(-20deg); opacity: 0.4; }
.t-decor-3 { top: 380px; right: -10px; font-size: 45px; transform: rotate(45deg); opacity: 0.3; }
.t-decor-4 { bottom: 180px; left: 40px; font-size: 30px; transform: rotate(10deg); opacity: 0.5; }
.t-decor-5 { bottom: 80px; right: 20px; font-size: 38px; transform: rotate(-15deg); opacity: 0.4; }

/* CHAT AREA */
.t-chat-area {
    flex: 1;
    padding: 20px 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.t-msg-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.t-avatar {
    width: 34px;
    height: 34px;
    background: #ffcce0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fb5c82;
    font-size: 16px;
    flex-shrink: 0;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(251, 92, 130, 0.2);
}

.t-msg {
    max-width: 80%;
}

.t-bubble {
    background: white;
    color: #333;
    padding: 14px 18px;
    border-radius: 4px 18px 18px 18px;
    font-size: 15px;
    line-height: 1.5;
    box-shadow: 0 2px 10px rgba(251, 92, 130, 0.08);
    border: 1px solid rgba(255, 204, 224, 0.5);
}

/* SUGGESTIONS */
.t-suggestions {
    display: block;
    white-space: nowrap;
    overflow-x: auto;
    padding: 10px 15px;
    background: transparent;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.t-suggestions::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.t-sug-chip {
    display: inline-block;
    background: #fff0f5;
    color: #fb5c82;
    border: 1px solid #ffd1df;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(251, 92, 130, 0.05);
    margin-right: 10px;
}

.t-sug-chip:last-child {
    margin-right: 0;
}

.t-sug-chip:hover {
    background: linear-gradient(135deg, #ff7e9e, #fb5c82);
    color: white;
    border-color: transparent;
}

/* FOOTER */
.t-footer {
    padding: 15px;
    text-align: center;
    color: #fb5c82;
    font-size: 13px;
    background: transparent;
    border-top: 1px solid rgba(255, 209, 223, 0.5);
    font-weight: 500;
    z-index: 10;
    flex-shrink: 0;
}

/* USER MESSAGE STYLES */
.t-msg-row-user {
    justify-content: flex-end;
}

.t-bubble-user {
    background: linear-gradient(135deg, #ff7e9e, #fb5c82);
    color: white;
    border-radius: 18px 4px 18px 18px;
    border: none;
    box-shadow: 0 2px 10px rgba(251, 92, 130, 0.2);
}

/* INPUT AREA */
.t-input-area {
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 15px;
    border-top: 1px solid rgba(255, 209, 223, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    flex-shrink: 0;
}

.t-input {
    flex: 1;
    background: #fff0f5;
    border: 1px solid #ffd1df;
    border-radius: 20px;
    padding: 12px 15px;
    font-size: 14px;
    outline: none;
    color: #444;
    transition: border-color 0.2s;
}

.t-input:focus {
    border-color: #fb5c82;
}

.t-input::placeholder {
    color: #ff9fb5;
}

.t-btn-send {
    background: linear-gradient(135deg, #ff7e9e, #fb5c82);
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(251, 92, 130, 0.3);
    transition: transform 0.1s;
}

.t-btn-send:active {
    transform: scale(0.95);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 4px 8px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #fb5c82;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}
