/* =========================================================
   Career Secret - Frontend Form Styles (Login & Registration)
========================================================= */

/* Main Container */
.cs-form-container {
  max-width: 450px; /* ফর্মটা মাঝখানে সুন্দর একটা সাইজে থাকবে */
  margin: 50px auto;
  padding: 35px 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); /* সুন্দর একটা শ্যাডো */
  border: 1px solid #eaeaea;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Form Heading */
.cs-form-container h3 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 25px;
  color: #1a1a1a;
  font-size: 22px;
  font-weight: 700;
}

/* Form Groups (Spacing) */
.cs-auth-form .cs-form-group {
  margin-bottom: 20px;
}

/* Labels */
.cs-auth-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #4a4a4a;
  font-size: 14px;
}

/* Input Fields */
.cs-auth-form input[type="text"],
.cs-auth-form input[type="email"],
.cs-auth-form input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  color: #333;
  background-color: #f9fafb;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* Input Focus Effect */
.cs-auth-form input[type="text"]:focus,
.cs-auth-form input[type="email"]:focus,
.cs-auth-form input[type="password"]:focus {
  border-color: #cb1d1e; /* আপনার ব্র্যান্ডের লাল কালার */
  background-color: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(203, 29, 30, 0.15);
}

/* Submit Button */
.cs-auth-form .cs-btn-primary {
  width: 100%;
  padding: 14px;
  background-color: #cb1d1e;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.1s ease;
}

/* Button Hover Effect */
.cs-auth-form .cs-btn-primary:hover {
  background-color: #a81617;
}

.cs-auth-form .cs-btn-primary:active {
  transform: scale(0.98);
}

/* Button Disabled State */
.cs-auth-form .cs-btn-primary:disabled {
  background-color: #fca5a5;
  cursor: not-allowed;
}

/* Success/Error Message Box */
#cs-inst-reg-message,
#cs-cand-reg-message,
#cs-login-message {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
