/* General styling for the page */
body {
    font-family: 'Arial', sans-serif;
    background-color: #eef2f3; /* Subtle gradient background */
    margin: 0;
    padding: 0;
}

/* Form container styling */
.seller-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.form-control {
    display: block !important;
    visibility: visible !important;
}
/* Common styles for both forms */
#seller-login-form,
#seller-register-form {
    width: 100%;
    max-width: 450px;
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

#seller-login-form:hover,
#seller-register-form:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.3);
}

/* Heading styling */
#seller-login-form h2,
#seller-register-form h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Label styling */
#seller-login-form label,
#seller-register-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    min-width: 120px;
}

/* Input fields styling */
#seller-login-form .form-control,
#seller-register-form .form-control {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    background-color: #f9f9f9;
    height: 44px;
    box-sizing: border-box;
}

#seller-login-form .form-control:focus,
#seller-register-form .form-control:focus {
    outline: none;
    border-color: #4CAF50; /* Highlight on focus */
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

/* Buttons styling */
#seller-login-form button,
#seller-register-form button {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50; /* Green primary color */
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#seller-login-form button:hover,
#seller-register-form button:hover {
    background-color: #45a049;
    transform: scale(1.03); /* Slightly enlarge on hover */
}

#seller-login-form button:active,
#seller-register-form button:active {
    background-color: #3e8e41; /* Slightly darker shade */
}

/* Link styling */
#seller-login-form a,
#seller-register-form a {
    color: #007BFF;
    text-decoration: none;
    font-size: 14px;
}

#seller-login-form a:hover,
#seller-register-form a:hover {
    text-decoration: underline;
}

/* Paragraph for links */
#seller-login-form p,
#seller-register-form p {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #555;
}

/* Decorative top bar for forms */
#seller-login-form::before,
#seller-register-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4CAF50, #007BFF); /* Gradient effect */
    border-radius: 10px 10px 0 0;
}



.password-toggle-wrapper {
    position: relative;
}

.password-toggle-wrapper .password-toggle-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 1.2rem; /* Adjust size if needed */
}

.password-toggle-wrapper .password-toggle-icon:hover {
    color: #000;
}

/*========== RESPONSIVE SELLER LOGIN/REGISTER ==========*/
@media (max-width: 768px) {
  #seller-login-form,
  #seller-register-form {
    padding: 20px;
    margin: 10px;
  }
  #seller-login-form h2,
  #seller-register-form h2 {
    font-size: 20px;
  }
  #seller-login-form .form-control,
  #seller-register-form .form-control {
    height: 40px;
  }
}

@media (max-width: 480px) {
  #seller-login-form,
  #seller-register-form {
    max-width: 95%;
    padding: 15px;
  }
  #seller-login-form .form-control,
  #seller-register-form .form-control {
    height: 38px;
  }
}
