/* Basic styles for the CBRBF pedigree tree */
.cbrbf-pedigree-wrapper {
    margin-top: 20px;
}

.cbrbf-pedigree-tree,
.cbrbf-pedigree-tree ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.cbrbf-pedigree-tree li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.cbrbf-pedigree-tree li::before {
    content: '';
    position: absolute;
    top: 1em;
    left: 0;
    width: 12px;
    height: 1px;
    background: #ccc;
}

.cbrbf-dog-name a {
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.cbrbf-dog-children {
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid #ccc;
}

/* Search form */
.cbrbf-dog-search-form {
    margin: 20px 0;
}
.cbrbf-dog-search-form input[type="text"] {
    padding: 5px;
    width: 200px;
    max-width: 100%;
}
.cbrbf-dog-search-form button {
    padding: 5px 10px;
}
.cbrbf-dog-search-results {
    margin-top: 10px;
    list-style: none;
    padding-left: 0;
}
.cbrbf-dog-search-results li {
    margin-bottom: 5px;
}

/* Form styles */
.cbrbf-dog-form label {
    display: block;
    margin-bottom: 4px;
}
.cbrbf-dog-form input[type="text"],
.cbrbf-dog-form input[type="date"],
.cbrbf-dog-form select,
.cbrbf-dog-form textarea {
    width: 100%;
    max-width: 400px;
    padding: 6px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
.cbrbf-dog-form button {
    padding: 6px 12px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    cursor: pointer;
}
.cbrbf-dog-form button:hover {
    background-color: #006799;
}

/* My dogs listing */
.cbrbf-my-dogs-list {
    list-style: none;
    padding-left: 0;
}
.cbrbf-my-dogs-list li {
    margin-bottom: 6px;
}
.cbrbf-my-dogs-list small a {
    margin-left: 8px;
    font-size: 90%;
    color: #0073aa;
}
.cbrbf-my-dogs-list small a:hover {
    color: #006799;
}