/*——————————————————————————————————————————————————————————————————————————————————————————————————
  RESET
——————————————————————————————————————————————————————————————————————————————————————————————————*/
*{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body{
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}


/*——————————————————————————————————————————————————————————————————————————————————————————————————
  STATUS HLASKA
——————————————————————————————————————————————————————————————————————————————————————————————————*/

.status-pozadi{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9998;
}

.status-hlaska{
	position: fixed;
	top: 80px;
	left: 50%;
	transform: translateX(-50%);
	background: #10b981;
	color: white;
	padding: 20px 32px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	max-width: 600px;
	font-weight: 600;
	font-size: 16px;
}

.status-text{
	flex: 1;
	text-align: center;
}

.status-zavrit{
	cursor: pointer;
	font-size: 24px;
	font-weight: bold;
	opacity: 0.8;
	transition: opacity 0.2s;
	user-select: none;
	line-height: 1;
}

.status-zavrit:hover{
	opacity: 1;
}


/*——————————————————————————————————————————————————————————————————————————————————————————————————
  MODAL
——————————————————————————————————————————————————————————————————————————————————————————————————*/

.modal{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.modal--active{
	opacity: 1;
	visibility: visible;
}

.modal__overlay{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	cursor: pointer;
}

.modal__content{
	position: relative;
	background: white;
	border-radius: 12px;
	padding: 32px;
	max-width: 500px;
	width: 90%;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	transform: scale(0.9);
	transition: transform 0.3s;
}

.modal--active .modal__content{
	transform: scale(1);
}

.modal__title{
	margin: 0 0 16px 0;
	font-size: 24px;
	font-weight: 600;
	color: #1a1a1a;
}

.modal__text{
	margin: 0 0 8px 0;
	font-size: 16px;
	color: #4a4a4a;
	line-height: 1.5;
}

.modal__warning{
	margin: 0 0 24px 0;
	font-size: 14px;
	color: #ef4444;
	font-weight: 500;
}

.modal__actions{
	display: flex;
	gap: 12px;
	justify-content: flex-end;
}

.modal__button{
	padding: 12px 24px;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.modal__button--cancel{
	background: #f5f5f5;
	color: #4a4a4a;
}

.modal__button--cancel:hover{
	background: #e5e5e5;
}

.modal__button--confirm{
	background: #ef4444;
	color: white;
}

.modal__button--confirm:hover{
	background: #dc2626;
}
