

/* Base reset */
body {
	margin: 0;
	font-family: Arial, sans-serif;
	background: #f9f9f9;
}

/* Header (sticky top bar) */
header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: #003366;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 2rem;
	color: white;
}

.align-justify {
	text-align: justify;
}

label {
	text-align: left;
}

/* Logo */
.logo {
	display: flex;
	align-items: center;
}
.logo img {
	width: 50px;
	height: 50px;
	object-fit: contain;
	margin-right: 0.75rem;
}
.logo span {
	font-size: 1.25rem;
	font-weight: bold;
}

/* Navigation styles */
nav ul {
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
	gap: 1.5rem;
}
nav li { 
	position: relative;
}
nav a {
	text-decoration: none;
	color: white;
	font-size: 1rem;
	padding: 0.25rem 0;
	display: inline-block;
	transition: color 0.2s ease-in-out;
}
nav a:hover, nav a:focus {
	color: #ffcc00; outline: none;
}

/* Dropdown */
nav ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #004080;
	padding: 0.5rem 0;
	min-width: 180px;
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}
nav ul ul li { 
	width: 100%;
}
nav ul ul a { 
	display: block; 
	padding: 0.6rem 1rem; 
	color: white;
}
nav ul ul a:hover {
	background-color: #0059b3;
}
nav li:hover > ul {
	display: block;
}

/* Dropdown section titles */
.dropdown-title {
	padding: 0.5rem 1rem;
	font-weight: bold;
	color: #ffcc00;
	background: #003d80;
	cursor: default;
}

/* Divider between groups */
.dropdown-divider {
	height: 1px;
	margin: 0.5rem 0;
	background: #0059b3;
}

/* Mobile menu button (hamburger) */
.menu-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 5px;
	padding: 0.5rem;
	border: none;
	background: transparent;
}
.menu-toggle span {
	width: 28px;
	height: 3px;
	background: white;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile styles */
@media (max-width: 768px) {
	header {
		flex-wrap: wrap;
	}

  /* Order so logo is left, burger right, menu full width below */
	.logo {
		order: 1;
	}
	.menu-toggle {
		order: 2;
	}
	nav {
		order: 3;
		width: 100%;
	}

  /* Hide menu by default on mobile */
	nav {
		display: none;
	}
	nav.active {
		display: block;
	}

  /* Mobile vertical menu */
	nav ul {
	        flex-direction: column;
	        background: #003366;
	        gap: 0;
	}
	nav ul li {
		border-top: 1px solid #004080;
	}
	nav ul li:first-child {
		border-top: none;
	}

  /* Nested dropdowns open via JS with .open */
	nav ul ul {
		position: static;
		box-shadow: none;
		border-radius: 0;
		background: #003d80;
		display: none;
	}
	nav li.open > ul {
		display: block;
	}
	nav ul ul a {
		padding-left: 2rem;
	}

  /* Show hamburger on mobile */
	.menu-toggle {
		display: flex;
	}

  /* Animate hamburger into an X when active */
	.menu-toggle.active span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}
	.menu-toggle.active span:nth-child(2) {
		opacity: 0;
	}
	.menu-toggle.active span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}
}



    .dropdown-header {
      font-weight: bold;
      color: #ffcc00; /* Highlighted section titles */
    }
    .navbar {
      background-color: #003366;
    }
    .navbar .nav-link,
    .navbar-brand {
      color: white;
    }
    .navbar .nav-link:hover,
    .navbar .dropdown-item:hover {
      color: #ffcc00;
      background: none;
    }
    .dropdown-menu {
      background-color: #004080;
    }
    .dropdown-item {
      color: white;
    }
    .dropdown-divider {
      border-color: #0059b3;
    }
    .logo-img {
      width: 80px;
      height: 80px;
      margin-right: 10px;
    }

.hidden {
	display: none;
}

/* Main content */
main {
	padding: 2rem;
}



.content120	{font-family: arial,helvetica; text-decoration: none; font-size: 120%; text-align: justify;}
.content110	{font-family: arial,helvetica; text-decoration: none; font-size: 110%; text-align: justify;}
.content		{font-family: arial,helvetica; text-decoration: none; font-size: 100%; text-align: justify;}
.content90	{font-family: arial,helvetica; text-decoration: none; font-size: 90%; text-align: justify;}
.content80	{font-family: arial,helvetica; text-decoration: none; font-size: 80%; text-align: justify;}
.content70	{font-family: arial,helvetica; text-decoration: none; font-size: 70%; text-align: justify;}
.content60	{font-family: arial,helvetica; text-decoration: none; font-size: 60%; text-align: justify;}

.big200		{font-family: arial,helvetica; text-decoration: none; font-size:200%;}
.big180		{font-family: arial,helvetica; text-decoration: none; font-size:180%;}
.big170		{font-family: arial,helvetica; text-decoration: none; font-size:170%;}
.big165		{font-family: arial,helvetica; text-decoration: none; font-size:165%;}
.big160		{font-family: arial,helvetica; text-decoration: none; font-size:160%;}
.big150		{font-family: arial,helvetica; text-decoration: none; font-size:150%;}
.big140		{font-family: arial,helvetica; text-decoration: none; font-size:140%;}
.big130		{font-family: arial,helvetica; text-decoration: none; font-size:130%;}
.big120		{font-family: arial,helvetica; text-decoration: none; font-size:120%;}
.big110		{font-family: arial,helvetica; text-decoration: none; font-size:110%;}
.normal		{font-family: arial,helvetica; text-decoration: none; font-size:100%;}
.small90		{font-family: arial,helvetica; text-decoration: none; font-size:90%;}
.small80		{font-family: arial,helvetica; text-decoration: none; font-size:80%;}
.small75		{font-family: arial,helvetica; text-decoration: none; font-size:75%;}
.small70		{font-family: arial,helvetica; text-decoration: none; font-size:70%;}
.small60		{font-family: arial,helvetica; text-decoration: none; font-size:60%;}
.small55		{font-family: arial,helvetica; text-decoration: none; font-size:55%;}
.small50		{font-family: arial,helvetica; text-decoration: none; font-size:50%;}
.small40		{font-family: arial,helvetica; text-decoration: none; font-size:40%;}
.small30		{font-family: arial,helvetica; text-decoration: none; font-size:30%;}
.small20		{font-family: arial,helvetica; text-decoration: none; font-size:20%;}
.small10		{font-family: arial,helvetica; text-decoration: none; font-size:10%;}


hr
{
	color: blue;
	background-color: blue;
}

th.viewadopttd
{
	font-family: arial,helvetica;
	font-size:90%;
	text-align: left;
	vertical-align: top;
	border-bottom: grey 1px solid;
}

td.viewadopttd
{
	font-family: arial,helvetica;
	text-decoration: none;
	font-size:70%;
	text-align: left;
	vertical-align: top;
}


#pet_breed_dogs
{
	width: 200px;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

#pet_breed_cats
{
	width: 200px;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

#dropZone {
	border: 2px dashed #888;
	border-radius: 8px;
	width: 320px;
	height: 160px;
	display:flex;
	align-items:center;
	justify-content:center;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:10px;
}

#dropZone.dragover {
	border-color:#2a9fd6;
	background:#f0faff;
}

.preview {
	display:flex;
	align-items:center;
	margin:6px 0;
}

.preview img {
	width:80px;
	margin-right:10px;
	border-radius:6px;
}

.progress {
	flex:1;
	background:#eee;
	border-radius:6px;
	height:12px;
	overflow:hidden;
	margin-right:10px;
}

.progress-bar {
	background:#2a9fd6;
	width:0;
	height:100%;
	transition: width 0.2s;
}

.status {
	font-size:12px;
}

.hidden-div
{
	display: none;
}
