/* Base styles */
:root {
    --primary-color: #000;
    --accent-color: #c0392b;
    --text-color: #2c3e50;
    --background-light: #f8f9fa;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background: url('images/ingredients-near-pizza-scaled.jpg') center/cover no-repeat fixed;
    min-height: 100vh;
    color: var(--text-color);
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
  }
  
  /* Typography */
  h1, h2, h3, .cafe-name {
    font-family: 'Playfair Display', serif;
  }

  .ui-datepicker {
            font-size: 14px;
        }
  
  /* Form container */
  .form-container, .thank-you-container {
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .form-container:hover, .thank-you-container:hover {
    transform: translateY(-5px);
  }
  
  /* Logo section */
  .logo-section {
    background: var(--primary-color);
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .logo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.1) 0%, rgba(255,255,255,0.1) 100%);
    transform: skewY(-4deg);
    transform-origin: 0 0;
  }
  
  .logo {
    max-width: 150px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: brightness(0) invert(1);
  }
  
  /* Form section */
  .form-section, .thank-you-content {
    padding: 2rem;
  }
  
  .step {
    display: none;
    animation: fadeIn 0.5s ease;
  }
  
  .step.active {
    display: block;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Form controls */
  .form-control {
    border: 2px solid #e9ecef;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
  }
  
  .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(192, 57, 43, 0.15);
    outline: none;
  }
  
  /* Star rating */
  .star-rating {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 0;
    justify-content: center;
  }
  
  .star-rating .fa-star {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .star-rating .fa-star:hover,
  .star-rating .fa-star.active {
    color: #f1c40f;
  }
  
  /* Buttons */
  .btn {
    padding: 0.8rem 2rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .btn-primary {
    background-color: var(--accent-color);
    border: none;
    color: white;
  }
  
  .btn-primary:hover, .btn-primary:focus {
    background-color: #a93226;
    outline: none;
  }
  
  .btn-secondary {
    background-color: #ebb073;
    border: none;
    color: var(--primary-color);
  }
  
  .btn-secondary:hover, .btn-secondary:focus {
    background-color: #e3a15f;
    outline: none;
  }
  
  /* Progress bar */
  .progress-bar {
    height: 4px;
    background: #ecf0f1;
    margin: 2rem 0;
    border-radius: 2px;
    overflow: hidden;
  }
  
  .progress-bar-fill {
    height: 100%;
    background: var(--accent-color);
    transition: width 0.3s ease;
  }
  
  /* Feedback header */
  .feedback-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .feedback-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .feedback-header p {
    color: #7f8c8d;
    font-size: 1rem;
  }
  
  /* Thank you container */
  .thank-you-container {
    text-align: center;
    animation: fadeIn 0.5s ease;
  }
  
  .thank-you-container h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }
  
  .thank-you-container h2 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
  }
  
  .decoration-line {
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    margin: 1.5rem auto;
  }
  
  .discount-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
  }
  
  .info-text {
    color: #666;
    margin-bottom: 2rem;
  }
  
  .btn-offers {
    background-color: #f1c40f;
    color: #000;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .btn-offers:hover, .btn-offers:focus {
    background-color: #f39c12;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    color: #000;
    outline: none;
  }
  
  /* Utility classes */
  .d-flex { display: flex; }
  .justify-content-between { justify-content: space-between; }
  .mb-3 { margin-bottom: 1rem; }
  .mb-4 { margin-bottom: 1.5rem; }
  
  /* Button container styles */
  .d-flex.justify-content-between {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
  }
  
  /* Ensure buttons have equal width */
  .d-flex.justify-content-between .btn {
    flex: 1 1 auto;
    text-align: center;
    white-space: nowrap;
  }
  
  /* Responsive design */
  @media (max-width: 768px) {
    body {
      padding: 10px;
    }
  
    .form-container, .thank-you-container {
      border-radius: 10px;
    }
  
    .logo-section {
      padding: 1.5rem 1rem;
    }
  
    .logo {
      max-width: 120px;
    }
  
    .form-section, .thank-you-content {
      padding: 1.5rem;
    }
  
    .feedback-header h2 {
      font-size: 1.5rem;
    }
  
    .feedback-header p {
      font-size: 0.9rem;
    }
  
    .btn {
      padding: 0.7rem 1.5rem;
      font-size: 0.9rem;
    }
  
    .star-rating .fa-star {
      font-size: 1.3rem;
    }
  }
  
  @media (max-width: 480px) {
    .form-container, .thank-you-container {
      border-radius: 0;
    }
  
    .logo-section {
      padding: 1rem;
    }
  
    .logo {
      max-width: 100px;
    }
  
    .form-section, .thank-you-content {
      padding: 1rem;
    }
  
    .feedback-header h2 {
      font-size: 1.3rem;
    }
  
    .feedback-header p {
      font-size: 0.8rem;
    }
  
    .btn {
      padding: 0.6rem 1.2rem;
      font-size: 0.8rem;
    }
  
    .star-rating .fa-star {
      font-size: 1.1rem;
    }
  }
  
  /*  screens less than 400px */
  @media (max-width: 400px) {
    .d-flex.justify-content-between {
      gap: 10px;
    }
  
    .btn {
      padding: 0.6rem 1rem;
      font-size: 0.9rem;
      min-width: 100px;
      flex: 1;
    }
  
   
    .btn i {
      margin: 0 2px;
    }
  }

  /* Improved styles for screens less than 400px */
@media (max-width: 400px) {
    .feedback-header h2 {
        font-size: 1.2rem;
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }

    .feedback-header p {
        font-size: 0.8rem;
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }

    .feedback-header p span {
        display: inline-block;
        margin: 0.3rem 0;
        padding: 4px 8px;
        line-height: 1.3;
    }

    .d-flex.justify-content-between {
        gap: 8px;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        min-width: 90px;
        flex: 1;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }

    .btn i {
        margin: 0 2px;
        font-size: 0.8rem;
    }

    .visit-count {
        font-size: 16px !important;
        margin-bottom: 15px !important;
    }

    .discount-text br {
        display: none;
    }

    .discount-text {
        padding: 0 0.5rem;
        line-height: 1.4;
    }

    .info-text br {
        display: none;
    }

    .info-text {
        padding: 0 0.5rem;
        line-height: 1.4;
    }

    .btn-offers {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        width: auto;
        min-width: 200px;
    }

    /* Improve form field spacing */
    .form-control {
        font-size: 0.9rem;
        padding: 0.7rem;
    }

    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    /* Improve spacing between form sections */
    .mb-3 {
        margin-bottom: 0.8rem;
    }

    .mb-4 {
        margin-bottom: 1.2rem;
    }
}
/* Improved styles for screens less than 400px */
@media (max-width: 400px) {
  .feedback-header h2 {
      font-size: 1.2rem;
      padding: 0 0.5rem;
      margin-bottom: 2rem;
  }

  .feedback-header p {
      font-size: 0.8rem;
      padding: 0 0.5rem;
      margin-bottom: 1rem;
  }

  .feedback-header p span {
      display: inline-block;
      margin: 0.3rem 0;
      padding: 4px 8px;
      line-height: 1.3;
  }

  .d-flex.justify-content-between {
      gap: 8px;
      flex-direction: row;
      flex-wrap: wrap;
  }

  .btn {
      padding: 0.6rem 0.8rem;
      font-size: 0.85rem;
      min-width: 90px;
      flex: 1;
      white-space: normal;
      text-align: center;
      line-height: 1.2;
  }

  .btn i {
      margin: 0 2px;
      font-size: 0.8rem;
  }

  .visit-count {
      font-size: 16px !important;
      margin-bottom: 15px !important;
  }

  .discount-text br {
      display: none;
  }

  .discount-text {
      padding: 0 0.5rem;
      line-height: 1.4;
  }

  .info-text br {
      display: none;
  }

  .info-text {
      padding: 0 0.5rem;
      line-height: 1.4;
  }

  .btn-offers {
      padding: 0.8rem 1rem;
      font-size: 0.9rem;
      width: auto;
      min-width: 200px;
  }

  /* Improve form field spacing */
  .form-control {
      font-size: 0.9rem;
      padding: 0.7rem;
  }

  .form-label {
      font-size: 0.9rem;
      margin-bottom: 0.3rem;
  }

  /* Improve spacing between form sections */
  .mb-3 {
      margin-bottom: 0.8rem;
  }

  .mb-4 {
      margin-bottom: 1.2rem;
  }
}