.tree-container {
    width: 300px; 
    height: 400px; 
    margin: 10px auto; 
    position: relative; 
}

#wish-tree {
    width: 100%;
    height: 100%;
}

/* Bud Style */
.bud {
    fill: #6B8E23; 
    r: 5; 
    transition: all 0.5s ease-in-out;
    cursor: default; 
}

/* Flower Styles - Base */
.flower {
    opacity: 0;
    transform-origin: center;
    transform: scale(0);
    animation: bloom 0.8s ease-out forwards, sway 5s ease-in-out infinite alternate; 
    transition: opacity 0.5s, transform 0.5s; 
    stroke-width: 1; 
    stroke: rgba(0,0,0,0.2); 
}

/* Flower Type 1: Simple Circle */
.flower-type-1 { fill: #FF69B4; 
}
/* Flower Type 2: Simple Circle */
.flower-type-2 { fill: #87CEEB; 
}
/* Flower Type 3: Simple Circle */
.flower-type-3 { fill: #FFD700; 
}
/* Flower Type 4: Simple Circle */
.flower-type-4 { fill: #9370DB; 
}
/* Flower Type 5: Simple Circle */
.flower-type-5 { fill: #FFA07A; 
}


/* More complex flower shape example (using SVG path data) - add data in JS */
/* .flower-type-complex path {
    d: path("M0,-10 C10,-10 10,0 0,0 C-10,0 -10,-10 0,-10 Z ...");
    fill: #somecolor;
} */

@keyframes bloom {
    0% {
        opacity: 0;
        transform: scale(0.1) rotate(-30deg);
    }
    70% {
        opacity: 0.9;
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Wind Sway Animation */
@keyframes sway {
    0% {
        transform: rotate(-2deg) translateX(-1px);
    }
    100% {
        transform: rotate(2deg) translateX(1px);
    }
}


/* --- Wish List Styles --- */
/*#wish-list-container {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(255, 248, 239, 0.7); 
    border-radius: 10px;
}

#wish-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px; 
    overflow-y: auto;
    text-align: left;
}

#wish-list li {
    padding: 10px 12px;
    border-bottom: 1px dashed #d3bfa8; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 0.95em;
    color: #5c4033; 
}

#wish-list li:last-child {
    border-bottom: none;
}
*/
.wish-info {
    flex-grow: 1; 
    display: flex;
    flex-direction: column; 
}

.wish-name {
    font-weight: bold;
}

.wish-details {
    font-size: 0.8em;
    color: #7f604e; 
    margin-top: 3px;
}

.wish-status {
    font-style: italic;
}

.wish-completion-time {
    margin-left: 5px; 
}

.complete-wish-btn { 
    padding: 6px 12px;
    font-size: 0.85em;
    color: white;
    background: linear-gradient(to right, #76c893, #99d98c); 
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    white-space: nowrap; 
    flex-shrink: 0; 
}

.complete-wish-btn:hover {
    background: linear-gradient(to right, #5cb87a, #8ac97a);
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.complete-wish-btn:active {
    transform: translateY(0px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

#message {
    margin-top: 15px;
    color: #555;
    min-height: 20px; 
    font-style: italic;
}

.tooltip {
  position: absolute;
  background: black;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  pointer-events: none;
  display: none;
}