/* Body & Background */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #74ABE2, #5563DE);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Login Wrapper */
.wrapper {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Form Heading */
.wrapper h2 {
    margin-bottom: 20px;
    color: #333333;
}

/* Form Text */
.wrapper p {
    margin-bottom: 30px;
    color: #666666;
}

/* Input Fields */
.form-control {
    width: 100%;
    padding: 12px 15px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: #5563DE;
    box-shadow: 0 0 5px rgba(85, 99, 222, 0.5);
    outline: none;
}

/* Error Messages */
.help-block {
    color: #ff4d4f;
    font-size: 14px;
}

/* Login Button */
.btn {
    width: 100%;
    padding: 12px 20px;
    background-color: #5563DE;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #3f4fc0;
    transform: translateY(-2px);
}

/* ReCaptcha */
.g-recaptcha {
    margin-top: 20px;
    display: inline-block;
}

/* Adjust form-group spacing */
.form-group {
    margin-bottom: 20px;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .wrapper {
        padding: 30px 20px;
    }
    .btn {
        font-size: 16px;
    }
}

/* Ensure wrapper content stays inside */
.wrapper {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-sizing: border-box; /* Important! */
}

/* Inputs & Button same width */
.form-control,
.btn {
    width: 100%;
    box-sizing: border-box; /* Include padding in width */
}

/* Optional: consistent spacing */
.form-control {
    margin: 8px 0 20px 0;
}
