/* General body and card styles */
body {
    background: linear-gradient(135deg, rgba(235, 245, 255, 0.9), rgba(255, 255, 255, 0.8));
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-family: 'Arial', sans-serif;
    padding-top: 20px; /* Reduced padding */
}

.glass-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px; /* Reduced radius */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Less intense shadow */
    padding: 20px; /* Reduced padding */
    width: 100%;
    max-width: 600px; /* Reduced width */
    color: #333;
}

/* Info icon */
.info-icon {
    cursor: pointer;
    margin-left: 5px;
    color: #007bff;
}
.glass-card h1 {
    font-size: 20px; /* Reduced font size */
    margin-bottom: 15px; /* Reduced margin */
}


/* Form controls */
.form-group {
    margin-bottom: 10px; /* Less space between form groups */
}

.form-control {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 6px; /* Smaller border-radius */
    padding: 8px; /* Reduced padding */
    font-size: 14px; /* Smaller font size */
}

/* Buttons */
.btn-custom {
    background-color: #3498db;
    border: none;
    color: #fff;
    padding: 8px 15px; /* Compact button size */
    font-size: 14px; /* Reduced font size */
    border-radius: 6px; /* Reduced border-radius */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-custom:hover {
    background-color: #2980b9;
}



/* Answer and question styles */
.answer-group {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.answer-group input[type="radio"] {
    margin-right: 10px;
}

.answer-group label {
  margin-top: 2px;
  margin-bottom: 3px; /* adjust spacing as needed */
}


.question-wrapper {
    margin: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(20, 44, 94, 0.397);
}

.add-answer-btn {
    margin-top: 10px;
}

/* Custom file upload styles (Glass UI) */
.custom-file-upload {
    position: relative;
    display: inline-block;
}

.glass-file-input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.glass-file-label {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(43, 91, 188, 0.2);
    border-radius: 12px;
    color: rgb(45, 85, 171);
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.glass-file-label:hover {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Custom file upload container */
.custom-file-upload {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* File name display */
#file-name, #file-name1, #file-name2, #file-name3 {
    font-size: 14px;
    color: #fff;
    opacity: 0.8;
}

/* Image preview */
#image-preview, #image-preview1, #image-preview2, #image-preview3 {
    display: none;
    margin-top: 10px;
    padding: 8px;
    border-radius: 8px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

/* Image styles */
#preview-img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#containerStatedPrice, #thankYouContainer, #finalThankYouContainer, #containerInitialPrice {
    display: none !important;
}


/*animation and visual*/
/* Initial hidden state*/ 
.glass-card.mb-4 {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
  }
  
  /* Visible state when in view */
  .glass-card.mb-4.visible {
    opacity: 1;
    transform: translateY(0);
  } 

  .glass-card.mr-3{
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
  }

  /* Visible state when in view */
  .glass-card.mr-3.visible {
    opacity: 1;
    transform: translateY(0);
  } 

  #practiceTooLow{
    padding: 10px 20px;
    font-size: 16px;
    transition: transform 0.3s ease-in-out;
    }

  #practiceTooHigh{
    padding: 10px 20px;
    font-size: 16px;
    transition: transform 0.3s ease-in-out;
  }

  #practiceTooLow:hover {
    transform: scale(1.1); /* Enlarge the button */
  }

  #practiceTooHigh:hover {
    transform: scale(1.1); /* Enlarge the button */
  }

  #priceTooLow{
    padding: 10px 20px;
    font-size: 16px;
    transition: transform 0.3s ease-in-out;
    }

  #priceTooHigh{
    padding: 10px 20px;
    font-size: 16px;
    transition: transform 0.3s ease-in-out;
  }

  #priceTooLow:hover {
    transform: scale(1.1); /* Enlarge the button */
  }

  #priceTooHigh:hover {
    transform: scale(1.1); /* Enlarge the button */
  }
  
/*Own pop-up alert */
/* Animation keyframes */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Custom alert overlay */
.custom-alert {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Alert content with animation */
.custom-alert-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    position: relative;
    animation: fadeInScale 0.4s ease;
    text-align: center;
}

/* Close button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Alert message */
#alertMessage {
    color: #333;
    font-size: 18px;
    margin-top: 10px;
}

/* Icon styling */
.alert-icon {
    font-size: 40px;
    margin-bottom: 10px;
}
.modal-body,.modal-content {
  width: 100%; /* or any other width you want */
  margin: 40px auto; /* to center the modal horizontally */
}
.question-text {
  font-weight: bold;
  margin-bottom: 8px;
}

.answer-group {
  margin-bottom: 6px;
}

.answer-group input[type="checkbox"],
.answer-group input[type="radio"] {
  margin-right: 8px; /* odstup medzi checkboxom a textom */
}