/* Styling for the dog tree */
.dog-tree {
    list-style-type: none;
    padding-left: 20px;
}

.dog-tree li {
    margin: 10px 0;
    font-size: 16px;
}

/* Popup styling */
.dog-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    color: white;
    text-align: center;
    padding-top: 100px;
}

.dog-popup .popup-content {
    background-color: #333;
    padding: 20px;
    border-radius: 5px;
    display: inline-block;
    max-width: 600px;
    width: 90%;
}

.dog-popup .popup-close {
    color: white;
    font-size: 24px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.dog-popup .dog-details {
    font-size: 18px;
}


/* Custom scrollbar styles */
:root {
    --scrollbarBG: #f1f1f1;
    --thumbBG: #888;
    --thumbHover: #555;
    --jost-font: 'Jost', sans-serif;
    --poppins-font: 'Poppins', sans-serif;
    --montserat-font: 'Montserrat', sans-serif;
    --roboto-font: 'Roboto', sans-serif;
    --open-sans-font: 'Open Sans', sans-serif;
    --lato-font: 'Lato', sans-serif;
    --nunito-font: 'Nunito', sans-serif;
}

 
.ptree {
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%; /* Ensure it takes full width of the container */
	overflow: hidden;
	margin: 0 auto;
}
.ptree .psub-tree {
	width: 100%;
	overflow-x: auto;
	height: 95vh;
	width: 100%;
	overflow-x: auto;
	overflow-y: auto;
	height: 95vh;
}

/* Custom scrollbar styles */
.psub-tree::-webkit-scrollbar {
	width: 12px; /* Width of the vertical scrollbar */
	height: 12px; /* Height of the horizontal scrollbar */
}

.psub-tree::-webkit-scrollbar-track {
	background: #f1f1f1; /* Track (background of the scrollbar) */
	border-radius: 10px; /* Rounded corners for the track */
}

.psub-tree::-webkit-scrollbar-thumb {
	background: #888; /* Color of the draggable part */
	border-radius: 10px; /* Rounded corners for the thumb */
}

.psub-tree::-webkit-scrollbar-thumb:hover {
	background: #555; /* Darker color when hovered */
}

.psub-tree::-webkit-scrollbar-corner {
	background: #f1f1f1; /* Corner where horizontal and vertical scrollbars meet */
}

 
.ptree .psub-tree .tree {
	width: 1000%; /* Adjusted to fit the content */
	overflow-x: auto; /* Horizontal scrolling */
	overflow-y: auto; /* Vertical scrolling */
	white-space: nowrap; /* Prevent horizontal wrapping */
	height: 100%; /* Use full height of the parent */
	padding: 20px;
	background: #f8f8f8;
	font-family: arial, verdana, tahoma;
}

.ptree .psub-tree .tree ul {
	padding-top: 20px;
	position: relative;
	transition: all 0.5s;
}
.ptree .psub-tree .tree li {
	float: left;
	text-align: center;
	list-style-type: none;
	position: relative;
	padding: 20px 5px 0 5px;
	transition: all 0.5s;
}
.ptree .psub-tree .tree li::before,
.ptree .psub-tree .tree li::after {
	content: "";
	position: absolute;
	top: 0;
	right: 50%;
	border-top: 1px solid #ccc;
	width: 50%;
	height: 20px;
}
.ptree .psub-tree .tree li::after {
	right: auto;
	left: 50%;
	border-left: 1px solid #ccc;
}
.ptree .psub-tree .tree li:only-child::after,
.ptree .psub-tree .tree li:only-child::before {
	display: none;
}
.ptree .psub-tree .tree li:only-child {
	padding-top: 0;
}
.ptree .psub-tree .tree li:first-child::before,
.ptree .psub-tree .tree li:last-child::after {
	border: 0 none;
}
.ptree .psub-tree .tree li:last-child::before {
	border-right: 1px solid #ccc;
	border-radius: 0 5px 0 0;
}
.ptree .psub-tree .tree li:first-child::after {
	border-radius: 5px 0 0 0;
}
.ptree .psub-tree .tree ul ul::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	border-left: 1px solid #ccc;
	width: 0;
	height: 20px;
}
.ptree .psub-tree .tree li a {
	border: 1px solid #ccc;
	padding: 5px 10px;
	text-decoration: none;
	color: #666;
	font-family: var(--poppins-font);
	font-size: 11px;
	display: inline-block;
	border-radius: 5px;
	transition: all 0.5s;
}
.ptree .psub-tree .tree li a:hover,
.ptree .psub-tree .tree li a:hover + ul li a {
	background: #c8e4f8;
	color: #000;
	border: 1px solid #94a0b4;
}
.ptree .psub-tree .tree li a:hover + ul li::after,
.ptree .psub-tree .tree li a:hover + ul li::before,
.ptree .psub-tree .tree li a:hover + ul::before,
.ptree .psub-tree .tree li a:hover + ul ul::before {
	border-color: #94a0b4;
}
.ptree .psub-tree .tree img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin-bottom: 5px;
}
@media (max-width: 768px) {
	.ptree .psub-tree .tree {
		width: 100%; /* Adjusted to fit the content */
		overflow-x: auto; /* Horizontal scrolling */
		overflow-y: auto; /* Vertical scrolling */
		white-space: nowrap; /* Prevent horizontal wrapping */
		height: 100%; /* Use full height of the parent */
		padding: 10px;
		background: #f8f8f8;
		font-family: var(--poppins-font);
	}
	.ptree .psub-tree .tree li {
		float: none;
		display: inline-block;
		text-align: center;
		padding: 10px 2px 0 2px;
	}
	.ptree .psub-tree .tree ul {
		padding-top: 0;
	}
	.ptree .psub-tree .tree li::before,
	.ptree .psub-tree .tree li::after {
		display: none;
	}
	.ptree .psub-tree .tree li a {
		font-size: 9px;
		padding: 3px 5px;
	}
	.ptree .psub-tree .tree img {
		width: 30px;
		height: 30px;
	}
}
.shy-popup {
	
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(202, 202, 202, 0.799);
	z-index: 9999;
	display: none;
	justify-content: center;
	align-items: center;
	padding: 20px;
}
.shy-popup .modal {
	max-width: 800px;
	width: 85%;
	background-color: #f1f1f1;
	padding: 30px;
	height: 80vh;
	overflow-y: auto!important;
	overflow-x: hidden!important;
	border-radius: 10px;
	position: relative;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 100%!important;
        margin: 0!important;
    }
}

body input#image {
    padding: 3px !important;
}


/* Design the scrollbar for .shy-popup .modal */
.shy-popup .modal::-webkit-scrollbar {
	width: 12px; /* Width of the vertical scrollbar */
	height: 12px; /* Height of the horizontal scrollbar */
}

.shy-popup .modal::-webkit-scrollbar-track {
	background: #f1f1f1; /* Track (background of the scrollbar) */
	border-radius: 10px; /* Rounded corners for the track */
}

.shy-popup .modal::-webkit-scrollbar-thumb {
	background: #888; /* Color of the draggable part */
	border-radius: 10px; /* Rounded corners for the thumb */
}

.shy-popup .modal::-webkit-scrollbar-thumb:hover {
	background: #555; /* Darker color when hovered */
}

.shy-popup .modal::-webkit-scrollbar-corner {
	background: #f1f1f1; /* Corner where horizontal and vertical scrollbars meet */
}

.shy-popup .close {
	position: fixed;
	top: 10px;
	right: 00px;
	font-size: 30px;
	padding: 5px 10px;
	cursor: pointer;
	color: #ffffff;
	background-color: #ff0000;
	border: none;
	border-radius: 5px;
}

.shy-popup .modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
}
.shy-popup .close:hover {
	background-color: #ff3333;
}
.shy-popup .addchild, button {
    background-color: #1a8f37;
    background: #1a8f37;
    font-size: 12px;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 30px;
    font-weight: 400;
    font-family: var(--poppins-font);
}
.shy-popup .modal-dialog .modal-content .modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}
.shy-popup .modal-dialog .modal-content .modal-header h5 {
	font-size: 25px;
	font-weight: 600;
	margin: 0;
	padding: 0;
	font-family: var(--poppins-font);
}

.shy-popup .modal-dialog .modal-content .modal-body { 
	font-size: 18px;
	font-family: var(--poppins-font);
}
.shy-popup .modal-dialog .modal-content .modal-body .dog-info-pre{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px; 
    gap: 20px;

}
.shy-popup .modal-dialog .modal-content .modal-body .dog-info-pre .left, .shy-popup .modal-dialog .modal-content .modal-body .dog-info-pre .dog-info {
    width: 50%;
}
.shy-popup .modal-dialog .modal-content .modal-body .dog-info-pre .left img {
	width: 100%;
	height: auto;
	border-radius: 10px;
}
 
.shy-popup .modal-dialog .modal-content .modal-body .dog-info-pre .left .dogname{
    font-size: 30px;
    font-weight: 600;
    margin: 0;
    padding: 0;
    font-family: var(--poppins-font);
    margin-top: 10px;
}

.shy-popup .modal-dialog .modal-content .modal-body .dog-info-pre .dog-info {
    padding: 20px; 
    font-family: var(--poppins-font);
}

.shy-popup .modal-dialog .modal-content .modal-body .dog-info {
    background-color: #f1f1f1;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 20px; 
    margin-bottom: 15px;
}

.shy-popup .modal-dialog .modal-content .modal-body .dog-info h6{
    font-size: 30px;
    font-weight: 600;
    margin: 0;
    padding: 0;
    font-family: var(--poppins-font);
    margin-bottom: 10px;
    text-align: center;
    color: #6a6a6a;
}