* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: url("/static/images/register-back.jpg") center / cover no-repeat;	
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1100px;
}

.signup-card {
    background: white;
    border-radius: 30px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    min-height: 600px;
}

/* Left Side Styling */
.left-side {
    flex: 1.2;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.logo {
    
    align-items: center;
    font-weight: bold;
    color: #4B0082;
    font-size: 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.login-link {
    border-bottom: 2px solid #4B0082;
    padding-bottom: 2px;
}

.form-container h1 {
    font-size: 41px;
    color: #2D0A4E;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
    width: 100%;
}

.input-group label {
    display: block;
    font-size: 11px;
    margin-bottom: 5px;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 5px 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
    background: #f1f1f1;
    outline: none;    
}

.row {
    display: flex;
    gap: 15px;
}

.btn-submit {
    width: 100%;
    padding: 10px;
    background: #2D0A4E;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 0px;
    margin-bottom: 0px;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #4B0082;
}

.terms, .login-footer {
    font-size: 11px;
    margin-top: 15px;
    color: #333;
    line-height: 1.5;
}

.features-list {
    margin-top: auto;
    font-size: 11px;
    color: #555;
    padding-top: 20px;
}

/* Right Side Styling */
.right-side {
    flex: 0.8;
    background: #eee;		
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 900px) {
    .signup-card { flex-direction: column; }
    .right-side { display: none; }
    .left-side { padding: 30px; }
}

/* ---- captcha ---- */

.captcha-group {
    margin-bottom: 15px;
}

.captcha-inline {
    display: flex;
    align-items: center;
    gap: 10px;    
}

#captchaText {
    background: #e7b6fa;
    padding: 5px 14px;
    border-radius: 8px;
    font-weight: bold;
    letter-spacing: 3px;
    font-size: 16px;
    user-select: none;
    min-width: 110px;
    text-align: center;	
	border: 1px solid #ddd;
    font-style: italic;
}

.input-captcha {
    flex: 1;
    padding: 5px 20px;
    border-radius: 25px;
    border: 1px solid #ddd; 
    outline: none;   
}

.refresh-captcha {
    background: none;
    border: none;
    font-size: 25px;
    cursor: pointer;
    
}

.error-text {
    color: #ff0000;
    font-size: 9px;
    margin-left: 8px;
    font-weight: 500;
    font-style: italic;
}

.input-group input.error {
    border-color: #ff0000;
}

.input-captcha.error {
    border-color: #ff0000;
}

.message-success {            
    background-color: #d4edda;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 11px;
    color: #045f15;
    margin-bottom: 10px;    
}

.message-error {
    background-color: #fed5d5;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 11px;
    color: #b90404;
    margin-bottom: 10px;    
}