/* motdepasse.css */

.op-mp-card h2 {
  text-align: center;
  margin: 0 0 6px;
}

.op-mp-card h2{
  text-align: center;
  margin-bottom: 8px;
  font-family: "Inter", Sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: #2C3E50;
}

.op-mp-card h3{
  font-family: "Inter", Sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #2C3E50;
}

.op-mp-card p{
  font-family: "Inter", Sans-serif; 
  font-weight: 500;
  font-size: 18px;
  color: #4B5563;
}

.op-mp-card label{
     font-weight: 500;
    font-size: 17px;
    color: #333333;
}

.op-mp-sub {
  text-align: center;
  color: #7b7b8a;
  margin-bottom: 18px;
  font-size: 14px;
}

.op-mp-output {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.op-mp-output input[type="text"] {
  flex: 1;
  padding: 24px;
  border-radius: 16px;
  border: none;
  font-size: 15px;
  background: #f3f4f6;
  margin: 0 !important;
  outline: none;
}

.op-mp-output .op-btn{
  position: absolute;
  right: 15px;
  background: linear-gradient(90deg, #ff7a59, #ffb24d);
}

.op-btn {
  padding: 10px 15px 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: #f0f0f3;
  font-family: "Inter", Sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #ffffff;
}

.op-mp-actions .download {
    cursor: pointer;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    background: #f1f3f7;
    color: #2C3E50;
    font-family: "Inter", Sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #4B5563;
}
.op-mp-actions .download:hover {
  background: #4B5563;
  color: white;
}

.op-btn svg{
    width: 11px;
    margin-right: 5px;
    fill: white;
}

.op-mp-output .op-btn:hover {
  transform: scale(1.1);
}

.op-btn.primary:hover {
  transform: scale(1.02);
}

.op-btn.primary {
    background: linear-gradient(90deg, #ff7a59, #ffb24d);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
}

.op-mp-row {
  display: flex;
  gap: 24px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.op-mp-col {
  flex: 1;
  min-width: 260px;
}

.op-range-label {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.op-range-label span {
  width: 40px;
    height: 28px;
    margin-left: 10px;
    display: flex;
    background-color: #1CCDDB;
    color: white;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
}

.op-range-label input[type=range] {
  width: 40%; 
}

.op-toggle {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  justify-content: space-between;
  flex-direction: row;
}

.op-toggle input[type=checkbox] {
  width: 18px;
  height: 18px;
}

.op-strength-wrapper {
  height: 12px;
  background: #f1f3f7;
  border-radius: 8px;
  width: 100%;
  margin: 10px 0 6px;
}

.op-strength-bar {
  height: 100%;
  width: 0%;
  border-radius: 8px;
  transition: width .25s ease, background .25s ease;
  background: linear-gradient(90deg, #ffb24d, #12c2e9);
}

.op-strength-text {
  font-weight: 600;
  color: #ff6b6b;
}

.op-security-tips {
  margin-top: 20px;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  color: #4b5563;
  background-image: linear-gradient(165deg, #4ECDC41A 0%, #FF6B6B1A 100%);
}

.op-security-tips h5{
  margin: 0;
  color: #2c3e50;
}

.op-security-tips ul{
  list-style: none;
  padding: 10px 0 0 0;
}

.op-security-tips li{
  padding: 4px 0;
  display: flex;
  align-items: center;
}

.op-security-tips li svg{
  width: 14px;
  height: 14px;
  color: #1ccddb;
  margin-right: 5px;
}

.op-security-tips li:last-child svg{
  color: #ff6b6b;
  margin-right: 5px;
}

.op-mp-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}

/* op-toggle */
.op-toggle input[type="checkbox"] {
  display: none;
}
.op-toggle input[type="checkbox"] + label {
  display: block;
  position: relative;
  width: 2.4em;
  height: 1.35em;
  border-radius: 1em;
  background: #ff6b6b;
  box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-transition: background 0.1s ease-in-out;
  transition: background 0.1s ease-in-out;
}
.op-toggle input[type="checkbox"] + label:before {
  content: "";
  display: block;
  width: 1.1em;
  height: 1.1em;
  border-radius: 1em;
  background: #fff;
  box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2);
  position: absolute;
  left: 0.15em;
  top: 0.1em;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.op-toggle input[type="checkbox"]:checked + label {
  background: #1CCDDB;
}
.op-toggle input[type="checkbox"]:checked + label:before {
  box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.2);
  left: 1.2em;
}
/* op-toggle end */

@media (max-width:720px) {
  .op-mp-row {
    flex-direction: column;
  }

  .op-mp-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width:425px) {
  .op-btn.primary {
    font-size: 0.8em;
  }
}