body {
    margin: 0;
    height: 100vh;
    /*background-image: url("/assets/petsNearby.png");*/
    /*background-repeat: no-repeat;*/
    /*background-position: center;*/
    /*background-size: contain;*/
}

:root {
    --primary: #4CAF50;
    --secondary: #0f172a;
    --accent: #FFD166;
    --bg: #f8fafc;
}

/* HERO */
.hero-block {
    min-height: 60vh;
    background-image: url("/assets/petsNearby.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 450px;
    background-color: #0f172a;
    position: relative;
}

.hero-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,23,42,0.95) 40%, rgba(15,23,42,0.2));
}

.hero-block .container {
    position: relative;
    z-index: 2;
}

/* CARDS */
.role-card {
    transition: 0.2s;
    cursor: pointer;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.drug-card {
    border-radius: 12px;
    transition: 0.2s;
    cursor: pointer;
    background: white;
}

.drug-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.card {
    border-radius: 14px;
}

.bg-light {
    background: #f8f9fa !important;
}

/* STEPS */
.step-card {
    background: white;
    border-radius: 12px;
    transition: 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ANIMATION */
.hero-block h1,
.hero-block p,
.hero-block button {
    animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* КНОПКА */
.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1000;
}

/* ОКНО */
.chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    height: 420px;
    background: white;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    z-index: 1000;
}

/* HEADER */
.chat-header {
    background: #4CAF50;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

/* BODY */
.chat-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}

/* MESSAGE */
.chat-message {
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 12px;
    max-width: 80%;
}

.chat-message.user {
    background: #e0f2fe;
    margin-left: auto;
}

.chat-message.ai {
    background: #f1f5f9;
}

/* INPUT */
.chat-input {
    display: flex;
    border-top: 1px solid #eee;
}

.chat-input input {
    flex: 1;
    border: none;
    padding: 10px;
    outline: none;
}

.chat-input button {
    border: none;
    background: #4CAF50;
    color: white;
    padding: 0 15px;
}

.hover-card {
    transition: all 0.2s ease;
}

.hover-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}