.steel-widget {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  padding: 20px;
  font-family: IRANSans, sans-serif;
}

.steel-title {
  color: #033a88;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
}

.steel-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
}

.steel-form .unit {
  color: #888;
  font-size: 12px;
  margin-right: 4px;
}

.steel-form input {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.steel-btn {
  width: 100%;
  background: #033a88;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.steel-btn:hover {
  background: #d72808;
}

.steel-result {
  margin-top: 15px;
  font-size: 16px;
  text-align: center;
  font-weight: bold;
  color: #333;
  background: #ffff0029;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #033a88;
  display: none;
}

.steel-note {
  text-align: center;
  color: #666;
}













/* حالت خطی */
.steel-form-inline .steel-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content:center;
    gap: 8px 10px;
}

.steel-form-inline #straps_material{
    margin-bottom:0px !important;
}

.steel-form-inline .steel-form label {
    display: none; 
     /*لیبل حذف می‌شود */
}

.steel-form-inline .steel-form input {
    width: auto !important;
    flex: 1 1 120px;
    margin: 0 !important;
    padding: 6px 4px;
}

.steel-form-inline .steel-btn {
    flex: 1 1 100%;
    margin-top: 8px;
    padding: 8px;
}

.steel-form-inline .steel-title {
    margin-bottom: 10px;
}

/* نتیجه کمتر جا بگیرد */
.steel-form-inline .steel-result {
    margin-top: 8px;
    padding: 6px;
}

/* موبایل */
@media(max-width: 480px) {
    .steel-form-inline .steel-form {
        flex-direction: column;
        align-items: stretch;
    }

    .steel-form-inline .steel-form input {
        width: 100% !important;
    }
}

@media (max-width:600px){

    /* بدنه اصلی */
    .steel-widget {
        padding:15px !important;
        border-radius:14px;
        max-width:100% !important;
        font-size:15px !important;
        line-height:1.45 !important;
    }

    /* عنوان */
    .steel-title {
        font-size:15px !important;
        font-weight:600 !important;
        margin-bottom:12px !important;
    }

    /* فیلدها */
    .steel-form input,
    .steel-form select {
        font-size:13px !important;
        height:42px !important;
        width:100% !important;
    }

    /* placeholder استاندارد موبایل */
    .steel-form input::placeholder,
    .steel-form select::placeholder {
        font-size:13px !important;
        opacity:.85;
    }

    /* لیبل‌ها */
    .steel-form label {
        font-size:13px !important;
    }

    /* دکمه */
    .steel-btn {
        height:44px !important;
        font-size:14px !important;
        font-weight:600;
        border-radius:8px !important;
        width:100% !important;
    }

    /* خروجی */
    .steel-result {
        font-size:14px !important;
        padding:8px !important;
        text-align:center;
    }

    .steel-note {
        font-size:12px !important;
        opacity:.9;
    }

    /* نسخه خطی – موبایل */
    .steel-form-inline .steel-form{
        flex-direction:column !important;
        gap:8px !important;
    }

    .steel-form-inline .steel-form input,
    .steel-form-inline .steel-form select{
        width:100% !important;
        flex:auto;
    }

    .steel-form-inline .steel-btn{
        font-size:14px !important;
        height:44px !important;
        width:100% !important;
    }

    /* بهبود فاصله بین فیلدها در موبایل */
    .steel-form{
        gap:10px !important;
    }
}





