/* custom css */

.modal-content {
    background-color: #faf8fa; /* Light background color */
    border-radius: 15px; /* Rounded corners */
  }
  .modal-header {
    background-color: #007bff; /* Header background */
    color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }
  .modal-footer {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
  }
  .helpstep {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
  }
  .helpimg {
    display: block;
    max-width: 100%;
    height: auto;
    margin-top: 10px;
  }

  .form-grid {
    display: grid;
    grid-template-columns: 150px 1fr 150px 1fr; /* label-input x2 */
    gap: 10px 20px;
    align-items: center;
    max-width: 600px;
    margin: 20px auto;
  }

  label {
    text-align: left;
    font-weight: bold;
  }

  #salasana1,
  #salasana2 {
    width: 100%;
    padding: 6px;
    box-sizing: border-box;
  }

  #hyvaksymispyynnot {
    width: 100% !important;
    table-layout: auto !important; /* eller fixed om du vill ha kontroll */
}

#hyvaksymispyynnot td,
#hyvaksymispyynnot th {
    white-space: normal !important;
}

.upcoming-section {
  position: relative;
  pointer-events: none; /* Prevent interaction */
  filter: blur(2px);
  opacity: 0.6;
}

.upcoming-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark transparent overlay */
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  pointer-events: none;
  z-index: 1;
}

.preview-content {
  position: relative;
  z-index: 0; /* Rendered behind the overlay */
}
