/* MWS Core Plugin - main.css */
.mws-button {
    display:inline-block;
    padding:.6rem 1rem;
    border-radius:.5rem;
    text-decoration:none;
    background:#0ea5e9;
    color:#fff;
    font-weight:600;
}
.mws-button:hover { opacity:.9; }

.mws-breadcrumb {
    margin: .5rem 0 1rem;
    font-size: 14px;
}
.mws-breadcrumb a { text-decoration:none; }

.contact-form {
  max-width: 500px;  
  margin: 0 auto; 
  padding: 1rem;

  h2, h3, h4 {
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.3;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border: 2px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: 0.25s;
    margin-bottom: 1rem;
    font-family: inherit;

    &:focus {
      border-color: #888;
    }
  }

  textarea {
    min-height: 120px;
    resize: vertical;
  }

  input[type="submit"],input[type="button"],
  button[type="submit"], button[type="button"] {
        display: block;
        margin: 1.5rem auto 0;
        padding: 10px 28px;
        min-width: 180px;
        font-size: 1.1rem;
        border-radius: 6px;
        border: 1px solid #d2cfcf;
        background: #f8f8f8;
        cursor: pointer;
        transition: 0.25s;
        font-weight: bold;

    &:hover {
      background: #eaeaea;
      border-color: #555;
    }
  }

}
/* Overlay phủ toàn bộ form */
.contact-form {
  position: relative;
}

.form-overlay {
    position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: none; /* Ẩn mặc định */
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* Hiện overlay */
.form-overlay.active {
  display: flex;
}

/* Spinner */
.form-overlay::after {
  content: "";
  width: 30px;
  height: 30px;
  border: 4px solid #a0a0a0;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spinLoad 0.7s linear infinite;
}

@keyframes spinLoad {
  to { transform: rotate(360deg); }
}
