/* Full-width background */
body.as-register-page {
    margin: 0;
    padding: 0;
    background: url('https://quiz.automation-school.com/wp-content/uploads/2025/06/minimalist_AS_Quizzes_NoText-1536x965.png') no-repeat center center fixed;
    background-size: cover;
    font-family: Tahoma,Arial,sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}


/* Main container for centering the form */
.as-register-container {
    width: 100%;
    max-width: 380px;
    padding: 10px;
    box-sizing: border-box;
}

/* Centered site icon */
.as-site-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    padding-top: 50px;
    max-width: 100%;
    overflow: visible;
}

.as-site-icon img {
    width: 150px;
    height: 120px;
    /*object-fit: contain;*/
    display: block;
    /*border-radius: 50%;*/
}

/* Upper message box */
.as-message-box {
    background: #ffffff;
    padding: 10px;
    margin: 20px 0px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    text-align:justify;
    font-weight: normal;
    font-size: 14px;
    color: #333;
}


/* Registration form box */
.as-register-form {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px 25px;
}

.as-register-form h2 {
    text-align: center;
    margin-bottom: 25px;
    font-family: Tahoma,Arial,sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: Black;
}

/* Input groups with labels */
.as-form-group {
    margin-bottom: 20px;
}

.as-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: normal;
    font-size: 14px;
    color: #333;
}

.as-form-group input {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Submit button */
.as-register-form button[type="submit"] {
    margin-top: 18px;
    width: 100%;
    background-color: #239934;
    color: white;
    border: none;
    padding: 16px;
    font-family: Tahoma,Arial,sans-serif;
    font-size: 20px;
    font-weight: 400;    
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s;

}

.as-register-form button[type="submit"]:hover {
    background-color: #81d742;
}

/* Success & error messages */
.as-success,
.as-error {
    /*background-color: green;*/ 
    border: 1px solid #239934;
    padding: 10px 15px;
    margin-bottom: 20px;
    font-size: 16px;
    color: green;
	border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.as-error {
    border-left-color: #239934;
	border: 1px solid red;
    color: #d63638;
}

/* Links under the form */
.as-links {
    margin-top: 20px;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
}

.as-links a {
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
    color: #333;
}

.as-links a:hover {
    color: blue;
}
