/* webfusion-import.css */

/* Container */
.wf-container {
  max-width: 1200px!important;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

/* Header */
.wf-header {
  text-align: center;
  margin-bottom: 30px;
}
.wf-header img {
  max-width: 150px;
  margin-bottom: 10px;
}
.wf-header h1 {
  font-size: 1.8rem;
  color: #333;
  margin: 0;
}

/* Forms */

.wf-form-container {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.wf-column {
  flex: 1 1 300px;
  box-sizing: border-box;
}



.wf-form {
  box-sizing: border-box;
  width: 100%;
  display: inline-block;
  vertical-align: top;
  background: #fafafa;
  padding: 20px;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  margin-bottom: 30px;
}
.wf-form + .wf-form {
  margin-left: 20px;
}

.wf-form h2 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: #444;
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 5px;
}

.wf-form p {
  margin: 15px 0;
}

.wf-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #555;
}

.wf-form input[type="date"],
.wf-form input[type="file"],
.wf-form input[type="text"],
.wf-form input[type="password"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Buttons */
.wf-form button,
.wf-container button {
  display: inline-block;
  background: #D29040;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}
.wf-form button:hover,
.wf-container button:hover {
  background: #b27936;
}

/* Messages */
.wf-message,
.wf-error {
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.wf-message {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}
.wf-error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

/* Products table */
.wf-products h2 {
  font-size: 1.4rem;
  color: #444;
  margin-bottom: 15px;
}

.wf-products table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  overflow: hidden;
}

.wf-products th,
.wf-products td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.wf-products thead {
  background: #f7f7f7;
  color: #333;
}

.wf-products tbody tr:nth-child(even) {
  background: #fafafa;
}

.wf-products tbody tr:hover {
  background: #f1f1f1;
}

.wf-products img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.wf-products .button {
  background: #D29040;
  padding: 6px 12px;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: background 0.2s;
  color: #fff;
}
.wf-products .button:hover {
  background: #b27936;
}

.wf-products label {
  font-size: 0.8rem;
}

.fixed-cloned-thead {
  position: fixed;
  top: 100px;
  z-index: 999;
  background: #fff;
  border-collapse: collapse;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: none;
}

.fixed-cloned-thead th {
  padding: 10px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  background: #f0f0f0;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  text-align: center;
}

.fixed-header-padding {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100px;     
  background-color: white;
  z-index: 998;         
}


/* Responsive */
@media (max-width: 768px) {
  .wf-form {
    width: 100%;
    display: block;
    margin-left: 0 !important;
  }
  .wf-products table,
  .wf-products th,
  .wf-products td {
    display: block;
  }
  .wf-products th {
    text-align: right;
    padding-right: 50%;
    position: relative;
  }
  .wf-products th::after {
    content: ":";
    position: absolute;
    right: 10px;
  }
  .wf-products td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }
  .wf-products td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    font-weight: bold;
  }
}
