/* Main container */

.mitten-tree-signup {
    margin: 25px 0;
}


/* Header */

.mitten-tree-header {
    margin-bottom: 25px;
}

.mitten-tree-header h2 {
    margin-bottom: 10px;
}


/* Selection counter */

.mitten-tree-selection-status {
    padding: 12px 18px;
    margin-bottom: 25px;
    background: #f1f5f1;
    border-radius: 6px;
    font-weight: 600;
}


/* Family member sections */

.mitten-tree-member {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #ffffff;
}

.mitten-tree-member h3 {
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 20px;
}


/* Individual items */

.mitten-tree-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mitten-tree-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border: 1px solid #dedede;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.mitten-tree-item:hover {
    background: #f8faf8;
    border-color: #9cae9c;
}

.mitten-tree-item.is-selected {
    background: #edf5ed;
    border-color: #648764;
}


/* Checkbox */

.mitten-tree-item-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: #426b47;
}

.mitten-tree-item-description {
    font-size: 16px;
    line-height: 1.4;
}


/* Empty states */

.mitten-tree-no-items {
    margin: 10px 0 0;
    color: #777;
    font-style: italic;
}

.mitten-tree-all-claimed {
    padding: 20px;
    margin: 20px 0;
    background: #edf5ed;
    border: 1px solid #c7d9c7;
    border-radius: 8px;
}


/* Validation */

.mitten-tree-validation {
    padding: 15px;
    margin-bottom: 20px;
    color: #9b2525;
    background: #fff0f0;
    border: 1px solid #e4baba;
    border-radius: 5px;
}


/* Mobile */

@media (max-width: 600px) {

    .mitten-tree-member {
        padding: 15px;
    }

    .mitten-tree-item {
        padding: 12px 10px;
    }

    .mitten-tree-item-description {
        font-size: 15px;
    }

}