body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 900px;
    width: 100%;
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

#canvas-container {
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #ddd;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #ccc;
}

button.active {
    background-color: #d32f2f;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.description {
    font-size: 18px;
    color: #555;
    min-height: 50px;
}

/* SVG Styles */
#vessel-svg {
    display: block;
    margin: 0 auto;
}

.rbc {
    fill: #e53935;
    opacity: 0.9;
}

.platelet {
    fill: #fff9c4;
    stroke: #fbc02d;
    stroke-width: 1;
}

.fibrin {
    stroke: #fff;
    stroke-width: 2;
    opacity: 0.7;
}
