/* ==========================================================
   Registration Page - Modern Smart Design
   ========================================================== */


.login-wrapper .loginbox {

    padding: 10px 0 !important;
}



/* Page Background */
.registration-page {
    background-color: #f7f6ff !important;
    min-height: 100vh;
    padding: 40px 0;
}

.login-wrapper {
    background-color: #f7f6ff !important;
    height: auto !important;
    padding: 5px 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Login Box Container */
.loginbox {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
}

.agent-loginbox {
    max-width: 800px !important;
}

.login-auth {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.login-auth-wrap {
    padding: 10px 35px;
}

/* Page Title */
.login-auth-wrap h1 {
    font-size: 21px !important;
    font-weight: 700 !important;
    color: #0d233e;
    margin-bottom: 15px !important;
    text-align: center;
    line-height: 1.3;
}

.login-auth-wrap h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0d233e;
    margin-bottom: 15px !important;
    text-align: center;
    line-height: 1.3;
}

/* Alert Messages */
.alert {
    margin: 0 35px 20px 35px;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
}

.alert-danger {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

.alert li {
    margin-bottom: 5px;
}

.alert li:last-child {
    margin-bottom: 0;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

/* Row Layout */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 10px;
    padding-right: 10px;
}

.col-md-6 .form-group {
    margin-bottom: 20px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #0d233e;
    margin-bottom: 8px;
    display: block;
}

.form-label span {
    color: #f38a1f;
    font-weight: 700;
}

/* Form Controls */
.form-control,
.select,
select.select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 14px;
    color: #0d233e;
    background-color: #f5f7fa;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus,
.select:focus,
select.select:focus {
    background-color: #ffffff;
    border-color: #f38a1f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(243, 138, 31, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

/* Textarea */
textarea.form-control {
    height: 100px;
    padding: 12px 16px;
    resize: vertical;
    min-height: 80px;
}

/* Select Dropdown */
select.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230d233e' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Password Group */
.pass-group {
    position: relative;
}

.pass-group .form-control {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 16px;
}

.toggle-password:hover {
    color: #f38a1f;
}

/* Error Messages */
.text-danger {
    display: block;
    font-size: 12px;
    color: #dc3545;
    margin-top: 6px;
    font-weight: 500;
}

/* Submit Button */
.btn-outline-light {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #f38a1f 0%, #ff6a28 100%);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(243, 138, 31, 0.3);
}

.btn-outline-light:hover {
    background: linear-gradient(135deg, #d97914 0%, #e85a1f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 138, 31, 0.4);
    color: #ffffff;
}

.btn-outline-light:active {
    transform: translateY(0);
}

/* Sign In Link */
.dont-have {
    margin-top: 25px;
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.dont-have a {
    color: #f38a1f;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dont-have a:hover {
    color: #d97914;
    text-decoration: underline;
}

/* ==========================================================
   Responsive Design
   ========================================================== */

/* Tablet */
@media (max-width: 768px) {
    .login-wrapper {
        padding: 30px 15px;
    }

    .login-auth-wrap {
        padding: 30px 25px;
    }

    .login-auth-wrap h1 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .alert {
        margin: 0 25px 15px 25px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    /* Stack columns on tablet */
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .form-control,
    .select,
    select.select {
        height: 46px;
        font-size: 13px;
    }

    textarea.form-control {
        height: 90px;
    }

    .btn-outline-light {
        height: 48px;
        font-size: 15px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .login-wrapper {
        padding: 20px 10px;
    }

    .login-auth-wrap {
        padding: 25px 20px;
    }

    .login-auth-wrap h1 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .alert {
        margin: 0 20px 15px 20px;
        font-size: 12px;
    }

    .form-label {
        font-size: 13px;
    }

    .form-control,
    .select,
    select.select {
        height: 44px;
        font-size: 13px;
        padding: 0 14px;
    }

    textarea.form-control {
        height: 80px;
        padding: 10px 14px;
    }

    .btn-outline-light {
        height: 46px;
        font-size: 14px;
    }

    .dont-have {
        font-size: 13px;
        margin-top: 20px;
    }
}