﻿.sms-modal {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000a6;
  backdrop-filter: blur(10px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.sms-modal.active {
  display: flex;
}

.sms-content {
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  width: 500px;
  height: auto;
  max-width: 90%;
  position: relative;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.sms-content h5 {
  font-size: 24px;
  margin-bottom: 12px;
  line-height: 30px;
  color: #22272a;
}

.phone-info {
  font-size: 16px;
  line-height: 20px;
  font-weight: 300;
  color: #4b5563;
  margin-bottom: 40px;
}

.code-inputs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}

.code-inputs input {
  width: 50px;
  height: 50px;
  font-size: 24px;
  line-height: 30px;
  text-align: center;
  border: 1px solid #7a7d7f;
  border-radius: 4px;
  color: #d52618;
}

.code-inputs input:focus {
  border-color: #d32f2f;
  outline: none;
}

.countdown {
  font-size: 14px;
  line-height: 18px;
  color: #7a7d7f;
  margin-bottom: 40px;
}

.sms-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.resend-button,
.confirm-button {
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
}

.resend-button {
  background-color: #fff;
  border: 1px solid #b7b9bb;
  flex: 1;
  color: #000;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  height: auto;
  border-radius: 4px;
  cursor: pointer;
}

.confirm-button {
  background: #d52618;
  flex: 1;
  color: #fff;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  height: auto;
  border-radius: 4px;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.sms-verify-close-button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 10px;
}

@media (max-width: 768px) {
  .sms-buttons {
    flex-direction: column;
  }

  .sms-content {
    padding: 40px 20px;
  }

  .resend-button {
    order: 2;
  }
  .confirm-button {
    order: 1;
  }
}
