/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Modal Container */
.modal-container {
  background-color: #ffff;
  border-radius: 8px;
  overflow: hidden;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 24px 38px rgba(0, 0, 0, 0.14), 0 9px 46px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

/* Modal Header */
.modal-header {
  background-color: #1a237e;
  color: #ffff;
  padding: 20px;
  position: relative;
}

.modal-header h2 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 5px;
}

.modal-header p {
  font-size: 14px;
  opacity: 0.9;
}

.close-btn {
  position: absolute;
  right: 15px;
  top: 15px;
  background: transparent;
  border: none;
  color: #ffff;
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Modal Body */
.modal-body {
  padding: 30px;
  overflow-y: auto;
}

.modal-section {
  margin-bottom: 30px;
}

.modal-section:last-child {
  margin-bottom: 0;
}

.modal-section h3 {
  font-size: 18px;
  color: #202124;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.modal-section h3 .icon {
  margin-right: 10px;
  color: #1a237e;
  font-size: 22px;
}

.modal-section p {
  font-size: 14px;
  color: #5f6368;
  line-height: 1.6;
  margin-bottom: 15px;
}

.bullet-points {
  list-style: none;
  padding-left: 15px;
}

.bullet-points li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #5f6368;
}

.bullet-points li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #1a237e;
}

/* Feature Cards */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.feature-card {
  border: 1px solid #b2b2b2;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 1px 6px rgba(60, 64, 67, 0.15);
  border-color: #1a237e;
}

.feature-card .card-icon {
  font-size: 32px;
  color: #1a237e;
  margin-bottom: 15px;
}

.feature-card h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #202124;
}

.feature-card p {
  font-size: 13px;
  color: #5f6368;
}

/* Modal Footer */
.modal-footer {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #dadce0;
}

.checkbox-container {
  display: flex;
  align-items: center;
}

.checkbox-container input {
  margin-right: 10px;
}

.checkbox-container label {
  font-size: 14px;
  color: #5f6368;
}

.modal-actions {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-secondary {
  background-color: transparent;
  color: #1a237e;
  border: 1px solid #b2b2b2;
}

.btn-secondary:hover {
  background-color: rgba(26, 115, 232, 0.04);
  border-color: #1a237e;
}

.btn-primary {
  background-color: #1a237e;
  color: #ffff;
  border: none;
}

.btn-primary:hover {
  background-color: #1c73e4;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3);
}

@media (max-width: 600px) {
  .modal-container {
    width: 95%;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .modal-footer {
    flex-direction: column;
    gap: 15px;
  }

  .checkbox-container {
    margin-bottom: 15px;
  }
}
