/**
 * Custom Login Form B2B Styles
 */

/* General Form Styles */
.login-container,
.registration-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.login-container h2,
.registration-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

/* Tab Navigation - Updated to match the image */
.tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: none;
}

.tab-link {
    flex: 1;
    padding: 12px 5px;
    background: transparent;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    transition: all 0.3s;
    color: #757575;
}

.tab-link.active {
    background: transparent;
    color: #2c6dee;
    border-bottom: 2px solid #2c6dee;
    font-weight: 600;
}

.tab-content {
    display: none;
    padding: 10px 0;
}

.tab-content.active {
    display: block;
}

/* Form Elements - More compact with cleaner layout */
.form-row {
    margin-bottom: 15px;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"],
.form-row input[type="tel"],
.form-row select {
    width: 100%;
    padding: 11px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    background-color: #fdfdfd;
}

.form-row input:focus,
.form-row select:focus {
    border-color: #2c6dee;
    outline: none;
    box-shadow: 0 0 3px rgba(44, 109, 238, 0.2);
}

.form-row.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form-row.remember-me input {
    margin-right: 8px;
}

.form-row.remember-me label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 14px;
    color: #666;
}

.submit-button {
    width: 100%;
    padding: 12px;
    background: #2c6dee;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.submit-button:hover {
    background: #2057c9;
    transform: translateY(-1px);
}

.submit-button:active {
    transform: translateY(0);
}

.form-row.links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 14px;
}

.form-row.links a {
    color: #2c6dee;
    text-decoration: none;
}

.form-row.links a:hover {
    text-decoration: underline;
}

/* Registration Link Row - New Style */
.registration-link-row {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.registration-link-row a {
    color: #2c6dee;
    text-decoration: none;
    font-weight: 500;
}

/* Secure Login Info - New Style */
.secure-login-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #f5f9ff;
    border-radius: 5px;
    color: #556b8d;
    font-size: 13px;
}

.secure-login-info svg {
    margin-right: 8px;
    color: #2c6dee;
}

/* Error and Success Messages */
.login-error,
.registration-error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border-left: 4px solid #f5c6cb;
    font-size: 14px;
}

.registration-success {
    background: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border-left: 4px solid #c3e6cb;
    font-size: 14px;
}

/* Custom Vendor Registration Messages */
#clf-vendor-msg {
    margin: 15px 0;
    padding: 10px;
    border-radius: 5px;
    animation: fadeIn 0.5s ease-in-out;
}

#clf-vendor-msg .woocommerce-error {
    padding: 10px 15px;
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #f5c6cb;
    margin: 0;
    list-style-type: none;
    font-size: 14px;
}

#clf-vendor-msg .woocommerce-message {
    padding: 10px 15px;
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #7ad03a;
    margin: 0;
    list-style-type: none;
    font-size: 14px;
}

/* Responsive Styles - Improved for better mobile experience */
@media (max-width: 768px) {
    .login-container,
    .registration-container {
        max-width: 100%;
        padding: 20px 15px;
        margin: 0 10px;
        border-radius: 8px;
    }
    
    .login-container h2,
    .registration-container h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .tabs {
        margin-bottom: 20px;
    }
    
    .tab-link {
        padding: 10px 5px;
        font-size: 15px;
    }
    
    .form-row {
        margin-bottom: 12px;
    }
    
    .form-row label {
        font-size: 13px;
    }
    
    .form-row input[type="text"],
    .form-row input[type="email"],
    .form-row input[type="password"],
    .form-row input[type="tel"],
    .form-row select {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .submit-button {
        padding: 10px;
        font-size: 15px;
    }
    
    .form-row.links {
        font-size: 13px;
    }
    
    .secure-login-info {
        font-size: 12px;
        padding: 8px 12px;
    }
} 