* {
  	box-sizing: border-box;
  	font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  	font-size: 16px;
}
body {
  	background-color: #435165;
}
.login {
  	width: 400px;
  	background-color: #ffffff;
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 100px auto;
}
.login h1 {
  	text-align: center;
  	color: #5b6574;
  	font-size: 24px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #dee0e4;
}
.login form {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding-top: 20px;
}
.login form label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
  	height: 50px;
  	background-color: #3274d6;
  	color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"], .login form input[type="email"] {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #dee0e4;
  	margin-bottom: 20px;
  	padding: 0 15px;
}

.login form input[type="submit"] {
  	width: 100%;
  	padding: 15px;
 	margin-top: 20px;
  	background-color: #3274d6;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
	background-color: #2868c7;
  	transition: background-color 0.2s;
}

.form-row {
	width: 100%;
  	padding: 15px;
 	margin-top: 20px;
}

/* Policy styles */
.policy-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.policy-content {
    background: #fff;
    padding: 20px;
    max-width: 600px;
    margin: auto;
    overflow-y: scroll;
    max-height: 70vh;
	color: black;
}

.popup-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.forgot-password-row{
    width: 360px;           /* 50 (label) + 310 (input) */
    display: flex;
    justify-content: flex-end;
    margin-top: -10px;
    margin-bottom: 10px;
}

.forgot-password-link{
    font-size: 12px;
    color: #3274d6;
    text-decoration: none;
}

.forgot-password-link:hover{
    text-decoration: underline;
}

/* Tooltip / helper box */
.pwd-tooltip{
    width: 360px; /* aligns with your form width (50 label + 310 input) */
    margin: -5px auto 10px auto;
    padding: 10px 12px;
    border: 1px solid #dee0e4;
    border-left: 4px solid #3274d6;
    background: #f7f9fc;
    color: #5b6574;
    font-size: 13px;
    line-height: 1.3;
}

/* Disabled submit style */
.login form input[type="submit"]:disabled{
    opacity: 0.55;
    cursor: not-allowed;
}

/* Optional: invalid input hint */
.input-invalid{
    border-color: #d9534f !important;
}

