* {
    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: #fff;
}

.login {
    border-radius: 10px;
    width: 400px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: 100px auto;
}

.login h1 {
    font-weight: bold;
    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: #9d00ff;
    color: #ffffff;
}

.login form input[type="password"], .login form input[type="text"] {
    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;
    margin-bottom: 20px;
    background-color: #9d00ff;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}

.login form input[type="submit"]:hover {
    background-color: #bb4dff;
    transition: background-color 0.2s;
}

/* updated 3/22/25 */
p.login_error {
    color: #dc3545;
    background: #fff;
    border-radius: 4px;
    padding: 8px 12px;
    text-align: center;
    margin: 10px 20px;
    width: calc(100% - 40px);
    align-self: center;
}

/* updated 3/22/25 */
p.login_success {
    color: #28a745;
    background: #fff;
    border-radius: 4px;
    padding: 8px 12px;
    text-align: center;
    margin: 10px 20px;
    width: calc(100% - 40px);
    align-self: center;
}

p.center
{
    text-align:center;
}

.regrst_container {
    display: flex;
    justify-content: center; /* Centers the links */
    gap: 60px; /* Adds spacing between links */
    margin-top: 10px;
    margin-bottom: 20px;
}

.regrst_links {
    text-decoration: none;
    color: #9d00ff;
    font-weight: bold;
}



.navtop {
	background-color: #2f3947;
	height: 60px;
	width: 100%;
	border: 0;
}

.navtop div {
	display: flex;
	margin: 0 auto;
	width: 1000px;
	height: 100%;
}

.navtop div h1, .navtop div a {
	display: inline-flex;
	align-items: center;
}

.navtop div h1 {
	flex: 1;
	font-size: 24px;
	padding: 0;
	margin: 0;
	color: #eaebed;
	font-weight: normal;
}

.navtop div a {
	padding: 0 20px;
	text-decoration: none;
	color: #c1c4c8;
	font-weight: bold;
}

.navtop div a i {
	padding: 2px 8px 0 0;
}

.navtop div a:hover {
	color: #eaebed;
}

body.loggedin {
	background-color: #f3f4f7;
}

.content {
	width: 90%;
	margin: 0 auto;
}

.content h2 {
	margin: 0;
	padding: 25px 0;
	font-size: 22px;
	border-bottom: 1px solid #e0e0e3;
	color: #4a536e;
}

.content > p, .content > div {
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
	margin: 25px 0;
	padding: 25px;
	background-color: #fff;
}

.content > p table td, .content > div table td {
	padding: 5px;
}

.content > p table td:first-child, .content > div table td:first-child {
	font-weight: bold;
	color: #4a536e;
	padding-right: 15px;
}

.content > div p {
	padding: 5px;
	margin: 0 0 10px 0;
}

.register {
    border-radius: 10px;
    width: 400px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: 100px auto;
}

.register h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}

.register form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;

}

.register form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #9d00ff;
    color: #ffffff;
}

.register form input[type="password"], .register form input[type="text"], .register form input[type="email"] {
    width: 310px;
    height: 50px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;
}

.register form input[type="submit"] {
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #6992cf;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}

.register form input[type="submit"]:hover {
  background-color: #6992cf;
    transition: background-color 0.2s;
}

.register p {
    text-align: center;
}


.registerValid form input[type="submit"] {
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #9d00ff;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}

.regLogin {
    text-align: center;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #9d00ff;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;    
}

.regLogin a {
    text-decoration: none;
    color: #ffffff;
}

.regErrorMsg {
    color: red;
    text-align:center;
    font-weight: bold;
}

p.center {
    text-align: center;
    width: 100%;
}

.rd_btm {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #9d00ff;
    margin-bottom: 0px !important; 
    border: 0;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s;
}

.rd_btm:hover {
    background-color: #bb4dff;
    transition: background-color 0.2s;
    
}

a.rd_btm {
    display: block;            /* makes it fill available width */
    text-align: center;        /* centers text inside */
}



/*********************************************/

.login form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
}

.input-group {
    display: flex;
    align-items: stretch; /* makes label & input same height */
    width: 100%;
    max-width: 360px;
}

.input-group label {
    width: 50px;
    background-color: #9d00ff;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.input-group input {
    flex: 1;
    border: 1px solid #dee0e4;
    border-left: none; /* avoid double border */
    padding: 0 15px;
    font-size: 16px;
}

.login form input[type="submit"] {
    width: 100%; /* spans entire .login container */
    padding: 15px;
    margin-top: 10px;
    background-color: #9d00ff;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}

.login form input[type="submit"]:hover {
    background-color: #bb4dff;
}

/* Mobile */
@media (max-width: 480px) {
    .input-group {
        max-width: 96%;
    }
}

/**********************************/

.register form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}

.register .input-group {
    display: flex;
    align-items: stretch; /* keeps label and input same height */
    width: 100%;
    max-width: 360px;
    margin-bottom: 20px;
}

.register .input-group label {
    width: 50px;
    background-color: #9d00ff;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* prevents squishing */
}

.register .input-group input {
    flex: 1;
    border: 1px solid #dee0e4;
    border-left: none; /* no double border */
    padding: 0 15px;
    font-size: 16px;
    height: 50px;
}


/* Fix regLogin button alignment and spacing */
.regLogin {
    margin: 0;
    padding: 0;
}

.regLogin a {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #9d00ff;
    color: #fff;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: background-color 0.2s;
}

.regLogin a:hover {
    background-color: #bb4dff;
}


.remember-me-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.remember-me-label {
    background-color: transparent !important;
    color: #9d00ff !important;
    width: auto !important;
    height: auto !important;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}

.remember-me-container input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #9d00ff;
}
