/* ===========================================
   FORM LAYOUT — MORE PROFESSIONAL VERSION
   =========================================== */

/* Manualy added CSS for better form styling */
.xpartweb-error-msg {
  text-align: center;
  background: #ff000024;
  width: 45%;
  margin: auto;
  padding: 5px 20px;
  border-radius: 10px;
}

.xpartweb-registration-form {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 40px;
  max-width: 640px;
  margin: 40px auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

/* Title */
.xpartweb-registration-form .xpartweb-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #111;
}

/* Input spacing */
.xpartweb-registration-form p {
  margin-bottom: 18px;
}

.xpartweb-registration-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}

/* Modern Inputs */
.xpartweb-registration-form input[type="text"],
.xpartweb-registration-form input[type="email"],
.xpartweb-registration-form select,
.xpartweb-registration-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  background: #fafafa;
  transition: 0.2s ease;
}

.xpartweb-registration-form input:focus,
.xpartweb-registration-form textarea:focus,
.xpartweb-registration-form select:focus {
  border-color: #007cba;
  background: #fff;
}

/* ===========================================
     1. TWO-COLUMN ROW (EMAIL + PHONE)
     =========================================== */

.xpartweb-row {
  display: flex;
  gap: 20px;
}

.xpartweb-col {
  flex: 1;
}

/* Mobile Stack */
@media (max-width: 600px) {
  .xpartweb-row {
    flex-direction: column;
    gap: 0;
  }
}

/* ===========================================
     2. COMPACT FILE UPLOAD (INLINE)
     =========================================== */

.xpartweb-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f5f5f5;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.xpartweb-upload-wrapper input[type="file"] {
  display: none;
}

/* BLACK BUTTON */
.xpartweb-upload-btn {
  background: #000;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  font-weight: 600;
}

.xpartweb-upload-btn:hover {
  background: #000;
}

/* File name inline */
.xpartweb-file-name {
  font-size: 14px;
  color: #555;
}

/* ===========================================
     3. SUBMIT BUTTON UPDATED (RED)
     =========================================== */

.xpartweb-registration-form input[type="submit"] {
  background: #e52629;
  border: none;
  color: #fff;
  padding: 14px;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 600;
  width: 100%;
  margin-top: 10px;
  transition: 0.25s ease;
}

.xpartweb-registration-form input[type="submit"]:hover {
  background: #c51c1f;
}
