*{
	margin:0;
	padding:0;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	
	outline:none;
}

:focus{
	outline: 0;
	outline-offset:0;
}

/* Structure */
html,body {
	height:100%
}

body {
	margin:0;
	padding:0;
	width:100%;
	min-height:100%;
	font-family: "wf_SegoeUILight", arial, tahoma;
	color:#444;
	background:#f4f4f4;
}

@font-face{
	font-family: 'wf_SegoeUILight';

	src:url('/css/Segoe_UI_Cyrillic_Light.eot');
	src:url('/css/Segoe_UI_Cyrillic_Light.eot?#iefix') format('embedded-opentype'),
		url('/css/Segoe_UI_Cyrillic_Light.woff') format('woff'),
		url('/css/Segoe_UI_Cyrillic_Light.ttf') format('truetype'),
		url('/css/Segoe_UI_Cyrillic_Light.svg#web') format('svg');
	font-weight: normal;
	font-style: normal;
}

h2 {
	margin:0 0 20px 0;
	font-family: 'Roboto', arial, sans-serif;
	font-weight:300;
	font-size:250%;
}

header, footer {
	display:flex;
	justify-content: center;
	flex-direction: column;
	width:100%;
	background-color: #fff;
}

.container {
	display: flex;
	flex-direction: column;
	min-height: 100vh; /* Занимает минимум высоту экрана */
}

.block {
	width: 100%;
}

.top-block, .bottom-block {
	display: flex;
	padding: 10px 0;
	justify-content: center;
	align-items: center;
	gap: 40px;
}

.middle-block {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

.logo {
	max-height: 60px;
	width: auto;
	object-fit: contain;
}

.bottom-block .logo {
	max-height: 60px;
}

.form-wrapper {
	width:100%;
	max-width:400px;
	min-width:320px;
	text-align:center;
}

.col {
	margin:0 0 25px 0;
}

.flex {
	display:flex;
	justify-content: center;
	align-items: center;
	gap: 40px;
}

.copyright {
	padding:10px 0;
	text-align:center;
}

input {
	margin: 0;
	padding: 0 10px;
	width: 100%;
	height: 50px;
	font-family: 'Roboto', arial, sans-serif;
	font-size: 18px;
	color: #c6c6c6;
	line-height: 50px;
	border:1px solid #dfdfdf;
	outline: solid 1px #dfdfdf;
}

input.required {
    border-right: solid 8px #399235;
}

input:focus{
	color:#444;
	border-right: solid 8px #b6b6b6;
}


.forgot {
	display: inline-block;
	margin:25px 0;
	padding: 0 15px;
	font-size: 85%;
	color: #444;
}
.forgot a {
	color: inherit;
}

.btn {
	display: inline-block;
	position:relative;
	padding: 0 10px;
	min-width: 200px;
	height: 50px;
	font-family: 'Roboto', arial, sans-serif;
	font-width: 300;
	font-size:150%;
	text-align: center;
	text-decoration: none;
	line-height: 50px;
	color: #fff;
	background-color: #399235;
	overflow:hidden;
}

.btn:hover {
	background-color:#3dab38;
}

.btn::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 0;
	height: 0;
	border-radius: 50%;
	background-color: rgba(57, 146, 53, 0.3);
	background-color: rgba(0, 100, 0, 0.3);
	pointer-events: none;
	animation: pulse 2s infinite;
	animation-delay: 0s;
}

.btn::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 0;
	height: 0;
	border-radius: 50%;
	background-color: rgba(57, 146, 53, 0.3);
	background-color: rgba(0, 100, 0, 0.5);
	pointer-events: none;
	animation: pulse 2s infinite;
	animation-delay: 0.5s; /* Начинается сразу */
}

/* Ключевая анимация */
@keyframes pulse {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        width: 200px;  /* Максимальный диаметр круга */
        height: 200px;
        opacity: 0;
    }
}