.seller-seller-register {
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    display: flex;
    background-image: url("../images/signin2.png") !important;
    background-position: center !important;
    height: 100vh !important;
    max-height: 100vh !important;
    min-width: 50rem;
    position: relative;
    overflow-x: auto;
    overflow-y: auto;
}

.adminhtml-auth-forgotpassword,
.adminhtml-auth-login {
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    display: flex;
    background-image: url("../images/signin.png") !important;
    background-position: center !important;
    height: 100vh !important;
    max-height: 100vh !important;
    min-width: 50rem;
    position: relative;
    overflow-x: auto;
    overflow-y: auto;
}

.adminhtml-auth-forgotpassword .page-wrapper,
.adminhtml-auth-login .page-wrapper,
.seller-seller-register .page-wrapper {
    -webkit-flex-grow: 0 !important;
    flex-grow: 0 !important;
    -webkit-flex-shrink: 0 !important;
    flex-shrink: 0 !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: block !important;
    float: none !important;
    margin: auto !important;
    max-width: 1200px !important;
    min-height: inherit !important;
    min-width: initial !important;
    padding: 20px !important;
    position: relative !important;
    width: 100% !important;
    z-index: initial !important;
}

.adminhtml-auth-login,
.seller-seller-register,
.login-content:not(.adminhtml-auth-forgotpassword .login-content){
    display: flex;
    flex-direction: row;
    float: left;
    width: 100% !important;
    align-items: center;
    justify-content: center;
    /* min-height: 100vh;
    padding: 20px 0; */
}

.adminhtml-auth-login
.login-content form,
.login-register-form form {
    background: #ffffff !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* ------------------------- Login Register Page Design Styles ------------------------- */
.login-register-form {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Fieldset Styles */
.seller-seller-register
.login-register-form .admin__fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.seller-seller-register
.login-register-form .admin__legend {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #6495ED, #9370DB) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    border: none;
    padding: 0;
    width: auto;
    text-align: center;
    position: relative;
}

.seller-seller-register
.login-register-form .admin__legend::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #6495ED, #9370DB);
    border-radius: 2px;
}

.seller-seller-register
.login-register-form .admin__legend span {
    background: none;
    padding: 0;
    font-size: 28px;
    font-weight: 400;
}

.seller-seller-register
.login-register-form .admin__field {
    margin-bottom: 25px;
}

/* Two-column layout for existing structure */
.seller-seller-register
.login-register-form .admin__fieldset {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: start;
}
.seller-seller-register
.login-register-form .admin__legend {
    grid-column: 1 / -1;
}

/* Full-width fields */
.seller-seller-register
.login-register-form .field-username,
.login-register-form .field-email,
.login-register-form .field-password,
.login-register-form .field-password-confirmation,
.login-register-form .field-t_c_box,
.login-register-form .form-actions {
    grid-column: 1 / -1;
}

/* Two-column fields */
.seller-seller-register
.login-register-form .field-firstname,
.login-register-form .field-lastname,
.login-register-form .field-vendor-type,
.login-register-form .field-brand-name {
    margin-bottom: 0;
}

.seller-seller-register
.login-register-form .admin__field-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #171c26;
    font-size: 16px;
    text-shadow: none;
    letter-spacing: 0.5px;
}

.seller-seller-register
.login-register-form .admin__field._required .admin__field-label span:not(:empty)::after {
    content: ' *';
    color: #ff6b6b;
    font-weight: bold;
}

.seller-seller-register
.login-register-form .admin__control-text,
.login-register-form .admin__control-select {
    width: 100%;
    border: 1px solid rgba(100, 149, 237, 0.3);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    color: #171c26;
}

.seller-seller-register
.login-register-form .admin__control-checkbox {
    width: auto;
    margin-right: 12px;
    padding: 0;
    transform: scale(1.3);
    accent-color: #6495ED;
}

.seller-seller-register
.login-register-form .admin__control-text:focus,
.login-register-form .admin__control-select:focus {
    outline: none;
    border-color: #6495ED;
    box-shadow: 
        0 0 0 3px rgba(100, 149, 237, 0.2),
        0 8px 25px rgba(100, 149, 237, 0.15);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.seller-seller-register
.login-register-form .admin__control-text::placeholder {
    color: rgba(23, 28, 38, 0.5);
    font-style: italic;
}

.seller-seller-register
.login-register-form input[type="password"] {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(100, 149, 237, 0.3);
}

/* Checkbox Field */
.seller-seller-register
.login-register-form .field-t_c_box .admin__field-control {
    display: flex;
    align-items: center;
}

.seller-seller-register
.login-register-form .field-t_c_box .admin__field-label {
    margin-bottom: 0;
    margin-left: 15px;
    color: #171c26;
    font-weight: 500;
    text-shadow: none;
}

.seller-seller-register
.login-register-form .field-t_c_box a {
    color: #6495ED;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.seller-seller-register
.login-register-form .field-t_c_box a:hover {
    color: #9370DB;
    text-decoration: underline;
}

.seller-seller-register
.login-register-form .field-brand-name .note {
    color: #171c26;
    font-size: 14px;
    font-style: italic;
    margin-top: 8px;
    display: block;
}

.seller-seller-register
.login-register-form .form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.seller-seller-register
.login-register-form .action-primary {
    background: linear-gradient(45deg, #6495ED, #9370DB);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    min-width: 220px;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 1px;
}

.seller-seller-register
.action-primary:hover, .action-primary:active, .action-primary:focus {
    background-color: none; 
    border-color: none;
    box-shadow: none;
    color: none;
    text-decoration: none;
}

.seller-seller-register
.login-register-form .action-back {
    color: #171c26;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 16px;
    border: 2px solid rgba(100, 149, 237, 0.3);
    background: rgba(255, 255, 255, 0.9);
}

.seller-seller-register
.login-register-form .action-back:hover {
    color: #6495ED;
    border-color: #6495ED;
    background: rgba(100, 149, 237, 0.1);
    box-shadow: 0 8px 25px rgba(100, 149, 237, 0.2);
}

.seller-seller-register
.login-register-form .admin__control-text.field-error {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2) !important;
    background: rgba(255, 107, 107, 0.1) !important;
}

.seller-seller-register
.login-register-form .mage-error {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 8px;
    display: block;
    font-weight: 500;
}

/* Responsive Styles - Mobile first approach */
@media (max-width: 1024px) {
    .seller-seller-register
    .login-register-form .admin__fieldset {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .login-register-form .field-firstname,
    .login-register-form .field-lastname,
    .login-register-form .field-vendor-type,
    .login-register-form .field-brand-name {
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .adminhtml-auth-forgotpassword,
    .adminhtml-auth-login,
    .seller-seller-register {
        min-width: auto;
        padding: 10px;
    }
    
    .login-register-form {
        padding: 15px;
    }
    
    .login-register-form form {
        padding: 30px 25px;
        border-radius: 20px;
    }

    .seller-seller-register
    .login-register-form .admin__legend {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .seller-seller-register
    .login-register-form .admin__fieldset {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .seller-seller-register
    .login-register-form .field-firstname,
    .login-register-form .field-lastname,
    .login-register-form .field-vendor-type,
    .login-register-form .field-brand-name {
        margin-bottom: 25px;
    }

    .seller-seller-register
    .login-register-form .action-primary {
        width: 100%;
        padding: 16px 30px;
        min-width: auto;
    }
    
    
    .login-content {
        flex-direction: column;
        gap: 20px;
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .login-register-form form {
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .seller-seller-register
    .login-register-form .admin__legend {
        font-size: 24px;
    }
    
    .seller-seller-register
    .login-register-form .admin__control-text,
    .login-register-form .admin__control-select {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .seller-seller-register
    .login-register-form .field-t_c_box {
        padding: 20px;
    }
}


.seller-seller-register
.admin__fieldset > .admin__field {
    margin-bottom: initial !important;
    position: relative;
}

.seller-seller-register
.admin__field + .admin__field {
    margin-top: initial !important;
}

.seller-seller-register
.login-header {
    margin: initial !important;
}

/* ------------------------- Login Page Design Styles ------------------------- */

.adminhtml-auth-login
.login-content form {
    padding: 30px 30px 20px 30px;
}

.adminhtml-auth-login
.admin__legend {
    font-size: 24px;
    font-weight: 600;
    background: linear-gradient(90deg, #6495ED, #9370DB) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    border: none;
    padding: 0;
    width: auto;
    text-align: center;
    position: relative;
}

.adminhtml-auth-login
.admin__legend::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #6495ED, #9370DB);
    border-radius: 2px;
}

.adminhtml-auth-login
.admin__legend span {
    background: none;
    padding: 0;
    font-size: 28px;
    font-weight: 400;
}

.adminhtml-auth-login
.admin__field-info{
    font-weight: 400;
    font-size: 14px;
    text-shadow: none;
    letter-spacing: 0.5px;
}

.adminhtml-auth-login
.admin__field-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #171c26;
    font-size: 16px;
    text-shadow: none;
    letter-spacing: 0.5px;
}

.adminhtml-auth-login
.admin__field._required .admin__field-label span:not(:empty)::after {
    content: ' *';
    color: #ff6b6b;
    font-weight: bold;
}

.adminhtml-auth-login
.admin__control-text,
.login-register-form .admin__control-select {
    width: 100%;
    border: 1px solid rgba(100, 149, 237, 0.3);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    color: #171c26;
}

.adminhtml-auth-login
.admin__control-text:focus,
.login-register-form .admin__control-select:focus {
    outline: none;
    border-color: #6495ED;
    box-shadow: 
        0 0 0 3px rgba(100, 149, 237, 0.2),
        0 8px 25px rgba(100, 149, 237, 0.15);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.adminhtml-auth-login
.admin__control-text::placeholder {
    color: rgba(23, 28, 38, 0.5);
    font-style: italic;
}


.adminhtml-auth-login
.action-primary {
    background: linear-gradient(45deg, #6495ED, #9370DB);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    min-width: 220px;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 1px;
    margin-left: 40px;
}

.adminhtml-auth-forgotpassword
.action-primary:hover, .action-primary:active, .action-primary:focus {
    background-color: none; 
    border-color: none;
    box-shadow: none;
    color: none;
    text-decoration: none;
}

.adminhtml-auth-login
.action-back {
    color: #171c26;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 16px;
    border: 2px solid rgba(100, 149, 237, 0.3);
    background: rgba(255, 255, 255, 0.9);
}

.adminhtml-auth-login
.action-back:hover {
    color: #6495ED;
    border-color: #6495ED;
    background: rgba(100, 149, 237, 0.1);
    box-shadow: 0 8px 25px rgba(100, 149, 237, 0.2);
}

.adminhtml-auth-login
.admin__control-text.field-error {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2) !important;
    background: rgba(255, 107, 107, 0.1) !important;
}

.adminhtml-auth-login
.mage-error {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 8px;
    display: block;
    font-weight: 500;
}

/* ------------------------- Forgot Password Page Design Styles ------------------------- */

.adminhtml-auth-forgotpassword
.login-register-form form {
    padding: 30px 30px 20px 30px;
}

.adminhtml-auth-forgotpassword
.login-content {
    display: flex;
    flex-direction: row;
    width: 100% !important;
    align-items: center;
    justify-content: center;
}

.adminhtml-auth-forgotpassword
.login-register-form .admin__fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.adminhtml-auth-forgotpassword
.login-register-form .admin__legend {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(90deg, #6495ED, #9370DB) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    border: none;
    padding: 0;
    width: auto;
    text-align: center;
    position: relative;
}

.adminhtml-auth-forgotpassword
.login-register-form .admin__legend::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #6495ED, #9370DB);
    border-radius: 2px;
}

.adminhtml-auth-forgotpassword
.login-register-form .admin__legend span {
    background: none;
    padding: 0;
    font-size: 28px;
    font-weight: 400;
}

.adminhtml-auth-forgotpassword
.login-register-form .admin__field {
    margin-bottom: 25px;
}

/* Two-column layout for existing structure */
.adminhtml-auth-forgotpassword
.login-register-form .admin__fieldset {
    display: grid;

}
.adminhtml-auth-forgotpassword
.login-register-form .admin__legend {
    grid-column: 1 / -1;
}

.adminhtml-auth-forgotpassword
.login-register-form
.admin__field-info{
    font-weight: 400;
    font-size: 14px;
    text-shadow: none;
    letter-spacing: 0.5px;
}

.adminhtml-auth-forgotpassword
.login-register-form .admin__field-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #171c26;
    font-size: 16px;
    text-shadow: none;
    letter-spacing: 0.5px;
}

.adminhtml-auth-forgotpassword
.login-register-form .admin__field._required .admin__field-label span:not(:empty)::after {
    content: ' *';
    color: #ff6b6b;
    font-weight: bold;
}

.adminhtml-auth-forgotpassword
.login-register-form .admin__control-text,
.login-register-form .admin__control-select {
    width: 100%;
    border: 1px solid rgba(100, 149, 237, 0.3);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    color: #171c26;
}

.adminhtml-auth-forgotpassword
.login-register-form .admin__control-text:focus,
.login-register-form .admin__control-select:focus {
    outline: none;
    border-color: #6495ED;
    box-shadow: 
        0 0 0 3px rgba(100, 149, 237, 0.2),
        0 8px 25px rgba(100, 149, 237, 0.15);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.adminhtml-auth-forgotpassword
.login-register-form .admin__control-text::placeholder {
    color: rgba(23, 28, 38, 0.5);
    font-style: italic;
}

.adminhtml-auth-forgotpassword
.login-register-form .form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.adminhtml-auth-forgotpassword
.login-register-form .action-primary {
    background: linear-gradient(45deg, #6495ED, #9370DB);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    min-width: 220px;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 1px;
}

.adminhtml-auth-forgotpassword
.action-primary:hover, .action-primary:active, .action-primary:focus {
    background-color: none; 
    border-color: none;
    box-shadow: none;
    color: none;
    text-decoration: none;
}

.adminhtml-auth-forgotpassword
.login-register-form .action-back {
    color: #171c26;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 16px;
    border: 2px solid rgba(100, 149, 237, 0.3);
    background: rgba(255, 255, 255, 0.9);
}

.adminhtml-auth-forgotpassword
.login-register-form .action-back:hover {
    color: #6495ED;
    border-color: #6495ED;
    background: rgba(100, 149, 237, 0.1);
    box-shadow: 0 8px 25px rgba(100, 149, 237, 0.2);
}

.adminhtml-auth-forgotpassword
.login-register-form .admin__control-text.field-error {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2) !important;
    background: rgba(255, 107, 107, 0.1) !important;
}

.adminhtml-auth-forgotpassword
.login-register-form .mage-error {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 8px;
    display: block;
    font-weight: 500;
}

/* ------------------------- Common Login Pages Design Styles ------------------------- */
.login-content .messages {
    position: absolute;
    top: 5%;
    width: 60%;
    left: 20%;
    z-index: 10;
}

.login-header a.logo {
    pointer-events: none;
    cursor: default;
}


.menu-wrapper:before {
background-color: #3B1888 !important;
}
.admin__menu .level-0._active > a {
background-color: #421B9A !important;
}
.admin__menu .level-0 > a {
color: #fff !important;
}
.admin__menu .level-0 > .submenu {
background-color: #421B9A !important;
box-shadow: 0 0 3px #421B9A !important;
}
.admin__menu [class*='level-']:not(.level-0) a:hover {
background-color: #3B1888 !important;
}
.admin__menu .level-0._active > a, .admin__menu .level-0:hover > a {
color: #fff !important;
}
.admin__menu .submenu-title {
color: #ffffff !important;
}

.page-actions .page-actions-buttons > button.primary {
background-color: #3B1888 !important;
border-color: #3B1888 !important;
color: #ffffff !important;
}
button.primary:hover {
background-color: #3B1888 !important;
border-color: #3B1888 !important;
color: #ffffff !important;
}
button.primary:active {
background-color: #3B1888 !important;
border-color: #3B1888 !important;
color: #ffffff !important;
}
.admin__menu .level-0:hover > a {
    background-color: #421B9A !important;
}
button.primary {
    background-color: #3B1888 !important;
    border-color: #3B1888 !important;
    color: #ffffff !important;
}
.page-actions .page-actions-buttons > button.action-secondary {
    background-color: #3B1888 !important;
    border-color: #3B1888 !important;
    color: #ffffff !important;
}
.action-secondary {
    background-color: #3B1888 !important;
    border-color: #3B1888 !important;
    color: #ffffff !important;
}

.abs-action-secondary, .action-basic, button.secondary, .ui-dialog .ui-button, .ui-dialog .action-primary, .attribute-popup-actions .page-actions-buttons > button.action-default.primary, .modal-popup .modal-footer .action-primary, .page-actions > button.action-secondary, .page-actions .page-actions-buttons > button.action-secondary, .page-actions .page-actions-buttons > .action.action-secondary, .steps-wizard .select-attributes-actions .action-default, .popup-window .magento_buttons .ok_button, .fade .actions .primary, .attribute-popup-actions .page-actions.floating-header > button.action-default.primary, .page-actions .page-actions.floating-header > button.action-secondary, .page-actions .page-actions.floating-header > .action.action-secondary, .block-footer .action-add.secondary, .attribute-popup-actions .page-actions-buttons > .block-footer .action-add.action-default.primary, .page-actions > .block-footer .action-add.action-secondary, .page-actions .page-actions-buttons > .block-footer .action-add.action-secondary {
    background-color: #3B1888 !important;
    border-color: #3B1888 !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}
