@charset "windows-1251";
/* CSS Document */

.flip-card-container {
  perspective: 1000px;
  width: 100%;
  height: auto;
}

.flip-card-inner {
  transition: transform 0.6s;
  transform-style: preserve-3d;
  position: relative;
}

.flip-card-container:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  top: 0;
  left: 0;
}

.flip-card-container:hover .flip-card-front {
  pointer-events: none;
}

.flip-card-back {
  transform: rotateY(180deg);
  z-index: 1; 
}


.flip-card-back .description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}


.profile {
  position: relative;
  display: block;
  z-index: 0;
  	border-radius: 15px;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
}


.flip-card-inner {
	border-radius: 15px;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
}

.flip-card-back {
	border-radius: 15px;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
}


.reglogin_container {
	margin: auto;
	width: 80%;
	max-width: 700px;
	min-width: 100px;
	display: block;
	text-align: center;
	padding: 10px 0px;
	border: thin;
	z-index: 0;
	
	
}

.card {
	margin: auto;
	width: 100%;
	min-width: 250px;
	display: block;
	text-align: center;
	padding: 10px;
	border: none;
	z-index: 0;
}

.profile_base_container {
    margin: auto;
	max-width: 80%;
	min-width: 250px;
	display: flex;
	text-align: center;
	padding: 10px 0px;
	border: none;
	z-index: 0;
	border-radius: 15px;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
    flex-wrap: wrap;
    gap: 20px; /* Опционально: для добавления пространства между таблицами */
}

.profile_container {
	margin: auto;
	max-width: 450px;
	min-width: 330px;
	min-height: 250px;
	text-align: center;
	padding: 10px 0px;
	border: none;
	z-index: -1;
	border-radius: 15px;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
	flex: auto;
}

.input_row, .input_area {
	display: flex;
	padding: 10px;
	border-radius: 5px;
	margin: 10px auto;
	width: 90%;
	border: 1px solid black;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
	font-family: inherit;
}

.input_row_err {
	display: flex;
	padding: 15px;
	border-radius: 5px;
	margin: 8px auto;
	width: 90%;
	border: 1px solid red;
	box-shadow: 0 5px 15px 0 rgba(255,0,0,.2);
}

.chkbox {
	height: 20px;
	width: 20px;
	background-color: #eee;
}

.submit_btn {
	display: inline-block;
	background-color: #6B4029;
	padding: 10px;
	margin: 10px;
	border: 0px;
	border-radius: 5px;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
	transition: 0.3s;
	cursor: pointer;
	text-decoration: none;
	color: #ffffff;
	font-family: inherit;
	width: 90%;
}

.submit_btn:hover {
	box-shadow: 0 5px 15px 5px rgba(200,100,0,.6);
}

.reg_btn {
	display: inline-block;
	background-color: #ECAD31;
	padding: 10px;
	margin: 10px;
	border: 0px;
	border-radius: 5px;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
	transition: 0.3s;
	cursor: pointer;
	text-decoration: none;
	color: #ffffff;
	font-family: inherit;
	width: 90%;
}

.reg_btn:hover {
	box-shadow: 0 5px 15px 5px rgba(150,50,0,.6);
}

.cancel_btn {
	display: inline-block;
	background-color: #FF7943;
	padding: 10px;
	margin: 10;
	border: 0px;
	border-radius: 5px;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
	transition: 0.3s;
	cursor: pointer;
	text-decoration: none;
	color: #ffffff;
	font-family: inherit;
	width: 90%;	
}

.cancel_btn:hover {
	box-shadow: 0 5px 15px 5px rgba(200,100,0,.6);
}

.inputfile {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -10;
	display: inline-block;
    vertical-align: middle;
}

.inputfile_label {
	background-color: #46A62C;
	padding: 10px;
	margin: 10px auto;
	border: 0px;
	border-radius: 5px;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
	transition: 0.3s;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	color: #ffffff;
	font-family: inherit;
	width: 90%;
	display: inline-block;
    vertical-align: middle;
}

.inputfile_label:hover {
	box-shadow: 0 5px 15px 5px rgba(50,200,0,.6);
}


.inputfile_label_selected {
	background-color: #99C001;
	padding: 10px;
	margin: 10px;
	border: 0px;
	border-radius: 5px;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
	transition: 0.3s;
	cursor: pointer;
	text-decoration: none;
	color: #ffffff;
	font-family: inherit;
	display: inline-block;
}

.inputfile_label_selected:hover {
	box-shadow: 0 5px 15px 5px rgba(50,50,0,.6);
}

.div_input_group {
	width: 100%;
	display: flex;
	text-align: center;
	align-items: center;
	justify-content: center;
}

.div_inputfile_label {
	display: block;
}

.div_inputfile {
	display: block;
}

.div_submit_btn {
	display: block;
}

.div_back_btn {
	display: block;
}

.div_search_btn {
	display: block;
}


.delete_btn {
	padding: 0px;
	margin: 0;
	border: 0px;
	border-radius: 5px;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
	transition: 0.3s;
	cursor: pointer;
	text-decoration: none;
	color: #ffffff;
	font-family: inherit;
	display: inline;
	background-color: #C10003;
	width: 90%;	
}

.delete_btn:hover {
	box-shadow: 0 5px 15px 5px rgba(250,0,0,.6);
}

.delete_container {
	margin: auto;
	width: 20px;
}

.label {
	display: inline-block;
	margin: auto;
	padding: 20px;
}

.search_input {
    display: flex;
    padding: 10px;
    border-radius: 5px;
    margin: 10px auto;
    width: 100%;
    border: 1px solid black;
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
    font-family: inherit;
}

.search_btn {
	display: inline-block;
	background-color: #6B4029;
	padding: 10px;
	margin: 10px;
	border: 0px;
	border-radius: 5px;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
	transition: 0.3s;
	cursor: pointer;
	text-decoration: none;
	color: #ffffff;
	font-family: inherit;
	width: 90%;
}

.search_btn:hover {
	box-shadow: 0 5px 15px 5px rgba(150,50,0,.6);
}

.errmsg {
	color: #E30000;
	font-weight: 600;
}

.sucmsg {
	color: green;
}

.avatar_container {
	text-align: center;
}


.avatar_img {
	max-width: 200px;
	min-width: 50px;
	max-height: 250px;
	min-height: 50px;
	border: none;
	border-radius: 40px 5px;
	padding: 20px;
	pointer-events: none;
}

.profile_table {
    width: 100%;
	border-collapse: collapse;
}

.profile_table td {
    padding: 0px 10px 5px;
	margin: auto;
    border: none;
	vertical-align: middle;
}

.profile_info {
    width: 50%;
}

.edit_form {
    width: 50%;
}

.form_row {
    margin-bottom: 20px;
	width: 100%;
}


.pagination {
    width: 80%;
    margin: 0 auto;
	text-align: center;		
}

.pagination-link {
    display: inline-block;
    padding: 5px 10px;
    color: brown;
    text-decoration: none;
    transition: color 0.3s;
}

.pagination-link:hover {
    color: coral;
}

.active {
    font-weight: bold;
}

.div_input_group .div_inputfile_label,
.div_input_group .div_submit_btn,
.div_input_group .div_back_btn, 
.div_input_group .div_search_btn {
    width: 30%;
}

.profile {
    display: flex;
    align-items: center;
    justify-content: center;
	
}
.profile img {
	align-items: flex-start;
}

.description {
    flex: 1;
	z-index: 500;
}

/* ============================ */
/* === Стили списка вакансий === */
/* ============================ */

        .vacancy-list {
            list-style-type: none; /* Убираем маркеры по умолчанию */
            padding-left: 0; /* Убираем отступ слева */
            margin-top: 1em; /* Отступ сверху */
        }
        .vacancy-list li {
            background-color: #f9f9f9; /* Легкий фон для каждого пункта */
            border: 1px solid #ddd; /* Рамка */
            padding: 10px 15px; /* Внутренние отступы */
            margin-bottom: 10px; /* Отступ снизу между пунктами */
            border-radius: 4px; /* Скругление углов */
            display: flex; /* Используем flex для выравнивания */
            justify-content: space-between; /* Разносим название и ссылку */
            align-items: center; /* Выравниваем по центру по вертикали */
            flex-wrap: wrap; /* Разрешаем перенос строки для кнопки на мал. экранах */
        }
        .vacancy-list span {
            font-weight: bold; /* Выделяем название вакансии */
            margin-right: 15px; /* Отступ справа от названия */
        }
        .vacancy-list a {
            display: inline-block; /* Чтобы применить padding */
            padding: 5px 10px;
            background-color: #FF4C35; /* Цвет кнопки (пример) */
            color: white;
            text-decoration: none;
            border-radius: 3px;
            font-size: 0.9em;
            white-space: nowrap; /* Чтобы текст "Подробнее" не переносился */
        }
        .vacancy-list a:hover {
            background-color: #C80038;
			transition: all 0.3s;
        }
        .page-title {
             text-align: center;
             margin-bottom: 1.5em; /* Отступ снизу заголовка */
         }
        .contact-info {
            margin-top: 2em; /* Отступ сверху для контактной информации */
            font-weight: bold;
            text-align: left; /* Выравнивание по левому краю для контакта */
        }
        /* Стили для даты */
        #current-date {
            font-weight: normal; /* Обычный вес для даты */
        }





@media (max-width: 1200px) {
    .div_input_group  {
	width: 100%;
	display: flex;
    text-align: center;
	flex-wrap: wrap;
	}
	.div_input_group .div_inputfile_label,
	.div_input_group .div_submit_btn,
	.div_input_group .div_back_btn, 
	.div_input_group .div_search_btn { 
    width: 100%;
	}
	
	.profile_base_container {
	max-width: 100%;
	}
	
	
	.profile_container {
	flex-direction: column;
	}
	
	.profile {
		flex-direction: column;
	}
}