/* MLM Registration Page Styles */

.mlm-registration-wrapper {
    padding: 20px;
    margin: 0;
    background: url('../images/4.png') center center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.mlm-registration-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.mlm-registration-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}

.mlm-registration-form-wrapper {
    flex: 1;
    padding: 50px;
    position: relative;
    z-index: 2;
}

.mlm-registration-sidebar {
    flex: 0 0 40%;
    background: linear-gradient(135deg, #2D3250, #424769);
    color: #fff;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.mlm-sidebar-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #fff;
}

.mlm-sidebar-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.mlm-sidebar-features {
    margin-top: 40px;
}

.mlm-sidebar-feature {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    padding-left: 10px;
}

.mlm-sidebar-feature i {
    font-size: 22px;
    margin-right: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.mlm-sidebar-feature span {
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: #fff;
}

.mlm-registration-header {
    text-align: center;
    margin-bottom: 35px;
}

.mlm-registration-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #2D3250;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.mlm-registration-intro {
    color: #424769;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.mlm-referral-info {
    text-align: center;
    padding: 15px 20px;
    background-color: rgba(36, 97, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 30px;
    color: #2461FF;
    font-size: 16px;
}

.mlm-field-info {
    font-size: 14px;
    color: #2461FF;
    margin-top: 5px;
    font-style: italic;
}

.mlm-registration-errors {
    background-color: #fff5f5;
    border-left: 4px solid #f53f3f;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    color: #d33;
}

.mlm-registration-success {
    background-color: #f0fff4;
    border-left: 4px solid #2abb9b;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    color: #2abb9b;
    text-align: center;
}

/* Form Styles */
.mlm-registration-form {
    position: relative;
}

.mlm-form-group {
    margin-bottom: 25px;
}

.mlm-form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.mlm-form-row-half > .mlm-form-group {
    flex: 1;
    min-width: 45%;
    padding: 0 10px;
}

.mlm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.mlm-form-group input[type="text"],
.mlm-form-group input[type="email"],
.mlm-form-group input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(45, 50, 80, 0.2);
    border-radius: 8px;
    font-size: 15px;
    color: #2D3250;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
}

.mlm-form-group input[type="text"]:focus,
.mlm-form-group input[type="email"]:focus,
.mlm-form-group input[type="password"]:focus {
    border-color: #7077A1;
    box-shadow: 0 0 0 3px rgba(66, 71, 105, 0.2);
    outline: none;
    background-color: #fff;
}

.required {
    color: #f53f3f;
}

.mlm-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    font-weight: normal;
}

.mlm-checkbox-label input {
    margin-right: 10px;
    margin-top: 3px;
}

.mlm-terms-group {
    margin-bottom: 30px;
}

.mlm-form-submit {
    text-align: center;
    margin-bottom: 20px;
}

.mlm-button {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mlm-button-primary {
    background: linear-gradient(135deg, #424769, #2D3250);
    color: #fff;
    border: none;
    box-shadow: 0 8px 15px rgba(45, 50, 80, 0.3);
}

.mlm-button-primary:hover {
    background: linear-gradient(135deg, #2D3250, #424769);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(45, 50, 80, 0.4);
}

.mlm-button-primary:active {
    transform: translateY(0);
    box-shadow: 0 5px 10px rgba(45, 50, 80, 0.2);
}

.mlm-login-link {
    text-align: center;
    font-size: 15px;
    color: #666;
}

.mlm-login-link a {
    color: #2461FF;
    text-decoration: none;
    font-weight: 600;
}

.mlm-login-link a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .mlm-registration-container {
        max-width: 90%;
        flex-direction: column;
    }
    
    .mlm-registration-form-wrapper,
    .mlm-registration-sidebar {
        width: 100%;
    }
    
    .mlm-registration-sidebar {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0 0 12px 12px;
    }
    
    .mlm-registration-header h1 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .mlm-registration-wrapper {
        padding: 40px 20px;
    }
    
    .mlm-form-row {
        flex-direction: column;
    }
    
    .mlm-form-column {
        width: 100%;
        padding: 0;
    }
    
    .mlm-registration-form-wrapper,
    .mlm-registration-sidebar {
        padding: 30px 25px;
    }
}

@media (max-width: 576px) {
    .mlm-registration-wrapper {
        padding: 20px;
    }
    
    .mlm-registration-container {
        margin: 0;
        border-radius: 10px;
    }
    
    .mlm-registration-form-wrapper,
    .mlm-registration-sidebar {
        padding: 25px 20px;
    }
    
    .mlm-registration-header h1 {
        font-size: 24px;
    }
    
    .mlm-registration-intro {
        font-size: 14px;
    }
    
    .mlm-form-group label {
        font-size: 14px;
    }
    
    .mlm-button {
        padding: 12px 20px;
    }
    
    .mlm-sidebar-content h3 {
        font-size: 22px;
    }
    
    .mlm-sidebar-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .mlm-sidebar-features {
        margin-top: 25px;
    }
    
    .mlm-sidebar-feature {
        margin-bottom: 15px;
    }
}
