@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
html {
	background-color: #f9f9f5;
	background-image: radial-gradient(circle, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
	background-size: 20px 20px;
}
body {
	margin: 0;
	padding: 0;
}
* {
	box-sizing: border-box;
	font-family: "Poppins", sans-serif;
}
input[type=text], input[type=email], input[type=number], input[type=date], input[type=file], select, textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	resize: vertical;
}
.fiftyper {
	width: 50%;
}
.my-account input[type=text] {
	width: 50px;
}
select {
	height: 50px;
}
input[type="date"]::-webkit-calendar-picker-indicator {
	opacity: 0;
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}
input[type="date"] {
	-moz-appearance: textfield;
	position: relative;
	z-index: 2;
}
.container label {
	padding: 12px 12px 12px 0;
	display: inline-block;
}
input[type=submit] {
	background-color: #B4384F;
	margin: 20px 0;
	color: white;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	float: right;
}
input[type=submit]:hover {
	background-color: #782535;
}
input[type=button] {
	background-color: #a7a7a7;
	margin: 20px 0;
	color: white;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	float: right;
}
input[type=button]:hover {
	background-color: #535353;
}
.container {
	position: relative;
	margin: 120px auto;
	max-width: 1000px;
}
.contentitem {
	margin: 30px 0;
	max-width: 1000px;
	background: #fff;
	border-radius: 5px;
	box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.1);
	background-color: #fff;
	padding: 20px;
	color: #555;
}
.contentitem a {
	color: #B4384F;
	text-decoration: underline;
}
.contentitem a:hover {
	text-decoration: none;
}
.contentitem h2 {
	text-align: left;
}
.contentitem h3 {
	text-align: left;
}
.contentitem .date {
	float: right;
	font-size: 15px;
	font-style: italic;
	color: #555;
}
.contentitem h1 {
	padding: 10px 0;
	margin: 0;
	text-align: left;
	color: #555;
}
.treeview ul, li {
	list-style: none;
	margin: 0;
	padding: 0;
}
.treeview ul {
	padding-left: 1em;
}
.treeview li {
	padding-left: 1em;
	border: 1px dotted black;
	border-width: 0 0 1px 1px;
}
.treeview li.containerlist {
	border-bottom: 0px;
}
.treeview li.empty {
	font-style: italic;
	color: silver;
	border-color: silver;
}
.treeview li p {
	margin: 0;
	background: white;
	position: relative;
	top: 0.5em;
}
.treeview li ul {
	border-top: 1px dotted black;
	margin-left: -1em;
	padding-left: 2em;
}
.treeview ul li:last-child ul {
	border-left: 1px solid white;
	margin-left: -17px;
}
.required {
	font-weight: bold;
	color: #E74833;
}
.bold {
	font-weight: bold;
}
.required-input {
	background-color: #FBE9D1;
}
.public-profile {
	color: green;
	font-weight: bold;
}
.private-profile {
	color: red;
	font-weight: bold;
}
.phone-exists {
	color: green;
	font-weight: bold;
}
.phone-missing {
	color: red;
	font-weight: bold;
}
.col-25 {
	float: left;
	width: 25%;
	margin-top: 6px;
	text-align: right;
}
.col-35 {
	float: left;
	width: 35%;
	margin-top: 6px;
	text-align: right;
}
.col-50 {
	float: left;
	width: 50%;
	margin-top: 6px;
	text-align: right;
}
.col-75 {
	float: right;
	width: 75%;
	margin-top: 6px;
}
.preference {
	display: flex;
	justify-content: space-between;
	margin: 0.5rem;
}
.row:after {
	content: "";
	display: table;
	clear: both;
}
@media screen and (max-width: 600px) {
.col-25, .col-35, .col-75, .col-50, input[type=submit], input[type=button] {
	text-align: left;
	width: 100%;
	margin-top: 0;
}
input[type=submit], input[type=button] {
	margin: 20px 0 0 0;
	text-align: center;
}
}
.alert {
	display: inline-block;
	margin: 5px auto;
	padding: 10px;
	background-color: #f44336;
	color: white;
	opacity: 1;
	transition: opacity 0.6s;
	max-width: 100%;
	border-radius: 5px;
}
.alert a {
	color: white;
	text-decoration: underline;
}
.alert a:hover {
	color: white;
	text-decoration: none;
}
.alert.success {
	background-color: #04AA6D;
}
.alert.info {
	background-color: #2196F3;
}
.alert.warning {
	background-color: #ff9800;
}
.closebtn {
	margin-left: 15px;
	color: white;
	font-weight: bold;
	float: right;
	font-size: 22px;
	line-height: 20px;
	cursor: pointer;
	transition: 0.3s;
}
.closebtn:hover {
	color: black;
}
.copy-text {
	width: 50%;
	position: relative;
	padding: 10px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 5px;
	display: flex;
}
.copy-text input.text {
	padding: 10px;
	font-size: 15px;
	color: #555;
	border: none;
	outline: none;
}
.copy-text button {
	padding: 10px;
	background: #5784f5;
	color: #fff;
	font-size: 18px;
	border: none;
	outline: none;
	border-radius: 5px;
	cursor: pointer;
}
.copy-text button:active {
	background: #809ce2;
}
.copy-text button::before {
	content: "Copied";
	position: absolute;
	top: -45px;
	right: 0px;
	background: #5c81dc;
	padding: 8px 10px;
	border-radius: 20px;
	font-size: 15px;
	display: none;
}
.copy-text button::after {
	content: "";
	position: absolute;
	top: -20px;
	right: 25px;
	width: 10px;
	height: 10px;
	background: #5c81dc;
	transform: rotate(45deg);
	display: none;
}
.copy-text.active button::before, .copy-text.active button::after {
	display: block;
}
.preference-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	margin-bottom: 10px;
}
.preference-status p {
	margin: 0;
	font-size: 16px;
}
.preference-action input[type="submit"] {
	background-color: #e64833;
	color: white;
	border: none;
	padding: 8px 16px;
	font-weight: bold;
	cursor: pointer;
	border-radius: 5px;
}
.public-profile {
	color: green;
	font-weight: bold;
}
.private-profile {
	color: red;
	font-weight: bold;
}
.gallery-selectable {
	display: inline-block;
	margin: 10px;
	position: relative;
}
.gallery-selectable img {
	width: 100px;
	cursor: pointer;
	border: 3px solid transparent;
	transition: 0.2s ease;
	border-radius: 5px;
}
.gallery-selectable input[type="checkbox"] {
	display: none;
}
.gallery-selectable.checked img {
	border-color: red;
	opacity: 0.5;
}
.gallery-selectable::after {
	content: "❌";
	position: absolute;
	top: 5px;
	right: 10px;
	color: red;
	font-size: 18px;
	display: none;
}
.gallery-selectable.checked::after {
	display: block;
}
.video-wrapper {
	position: relative;
	display: inline-block;
}
.video-icon-overlay {
	position: absolute;
	bottom: 4px;
	right: 6px;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	padding: 2px 5px;
	border-radius: 3px;
	pointer-events: none;
}
.bloglist ul {
	list-style-type: square;
}
.bloglist li {
	list-style-type: square;
	margin-bottom: 0.4em;
	line-height: 1.5;
}
ul.connect {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}
.connect li.friend-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	border-bottom: 1px dotted grey;
	flex-wrap: wrap;
}
.connect li .info {
	flex: 1 1 auto;
	margin-right: 10px;
}
.connect li .info a {
	color: white;
	text-decoration: none;
}
.connect li .info a:hover {
	text-decoration: none;
}
.connect li .button-group {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-start;
}
.button-group form {
	display: inline-block;
}
.button {
	margin: 5px 0;
	border-radius: 4px;
	padding: 5px 24px;
	border: none;
	color: white;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	cursor: pointer;
}
.button-green {
	background-color: #04AA6D;
}
.button-red {
	background-color: #d30b0b;
}
.button-orange {
	background-color: #ee811c;
}
.button-blue {
	background-color: #2d73ce;
}
.button-green:hover, .button-red:hover, .button-orange:hover, .button-blue:hover {
	box-shadow: 0 3px 4px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
.responsiveImg {
	width: 100%;
	max-width: 300px;
	height: auto;
}
.form-buttons {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.button-wrapper {
	display: flex;
	justify-content: flex-end;
	gap: 0 10px;
	flex-wrap: wrap;
}
.center-line {
	text-align: center;
	justify-content: center;
}
.submenu { 
    display: flex; 
	justify-content: flex-start;
    flex-direction: row; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
} 
.submenu-item { 
    text-align: center;
}
.submenu-item a { 
    color: #fff;
	background-color: #D36579;
	text-decoration: none;
	padding: 10px;
	margin: 0 5px;
	border-radius: 6px;
}
.submenu-item a:hover { 
	background-color: #782535;
}
.anchor-offset {
	scroll-margin-top: 90px;
}
.chat-box {
	max-height: 300px;
	overflow-y: auto;
	padding: 10px;
	background-color: #fdfdfd;
	border: 1px solid #ccc;
	margin-bottom: 10px;
	border-radius: 8px;
  }
  
  .my-msg {
	text-align: right;
	background-color: #d2f8d2;
	margin: 5px 0;
	padding: 6px 10px;
	border-radius: 12px;
	display: inline-block;
	max-width: 80%;
  }
  
  .their-msg {
	text-align: left;
	background-color: #eee;
	margin: 5px 0;
	padding: 6px 10px;
	border-radius: 12px;
	display: inline-block;
	max-width: 80%;
  }
  
  .msg-time {
	font-size: 0.8em;
	color: #666;
	margin-right: 5px;
  }
  
  .msg-text {
	font-size: 1em;
  }
  .message-wrapper {
	display: flex;
	margin: 6px 0;
  }
  
  .message-wrapper.incoming {
	justify-content: flex-start;
  }
  
  .message-wrapper.outgoing {
	justify-content: flex-end;
  }
  
  .message-bubble {
	padding: 8px 12px;
	border-radius: 12px;
	max-width: 70%;
	word-wrap: break-word;
	background-color: #eee;
  }
  
  .message-wrapper.outgoing .message-bubble {
	background-color: #d2f8d2;
  }
@media (max-width: 600px) { 
    .submenu { 
       flex-direction: column; 
    } 
    .submenu-item { 
       flex: none; 
       width: 100%;
	   margin: 10px 0;
    } 
}
@media screen and (max-width: 600px) {
  .copy-text {
    width: 100%;
  } 
}
@media (max-width: 600px) {
  .button-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .button-wrapper .button {
    width: 100%;
  }
}
#loader-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.8); /* poloprůhledné bílé pozadí */
	z-index: 9999;
  }
  
  .loader-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	font-family: 'Courier New', monospace;
	color: #333;
  }

  .why-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-bottom: 10px;
  }
  
  .why-row p {
	margin-top: 0;
	margin-bottom: 10px;
  }
  
  .why-row p:last-child {
	margin-bottom: 0;
  }
  
  @media screen and (max-width: 768px) {
	.why-row {
	  grid-template-columns: 1fr;
	}
  }

  .button-wrap {
	text-align: right;
	margin-top: -10px;
  }
  
  .my-button-link {
	display: inline-block;
	background-color: #B4384F;
	color: white;
	padding: 10px 18px;
	border-radius: 4px;
	text-decoration: none;
	cursor: pointer;
	font-size: 14px;
	transition: background-color 0.3s;
  }

  .contentitem a.my-button-link {
	color: white !important;
	text-decoration: none !important;
  }
  
  .my-button-link:hover {
	background-color: #782535;
	text-decoration: none;
  }

  .my-button-link:visited, .my-button-link:hover {
	color: white;
	text-decoration: none;
  }
  .swiper {
	width: 100%;
	max-width: 1260px;  /* nebo šířka laptopu v obrázku */
	margin: auto;
  }
  
  .swiper-slide {
	display: flex;
	justify-content: center;
	align-items: center;
  }
  
  .swiper-slide img {
	width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
	display: block;
  }
  