@tailwind base;
@tailwind components;
@tailwind utilities;



@layer components {
  .btn-primary {
    padding: 0.5rem 1rem;
    background-color: #bfdbfe;
  }

  .btn-login {
    @apply shadow-md shadow-gray-500 shadow-sm;
    @apply flex justify-center items-center w-full rounded-md bg-blue-700 px-3 py-1.5;
    @apply text-sm font-semibold leading-6 text-white hover:bg-indigo-900;
    @apply focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 cursor-pointer;
  }
  

  .input-field {
    @apply block w-full border-0 border-b-2 border-gray-300 py-1.5 text-gray-900 focus:border-indigo-600 focus:ring-0 focus:outline-none sm:text-sm sm:leading-6;
  }

  .nav-link {
    @apply py-1 px-1 flex items-center rounded-md gap-2 md:hover:bg-transparent hover:text-gray-400;
  }
  
}


/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

@import 'gdpr/cookie_consent';

/* Custom GDPR Cookie Consent Styling */
.gdpr__cookie_consent {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95)) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    bottom: 20px !important;
    font-size: 14px !important;
    left: 20px !important;
    max-width: 480px !important;
    padding: 20px !important;
    position: fixed !important;
    right: 20px !important;
    z-index: 9999 !important;
    color: #374151 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.gdpr__cookie_consent a {
    color: #3b82f6 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.gdpr__cookie_consent a:hover {
    color: #1d4ed8 !important;
    text-decoration: underline !important;
}

.gdpr__cookie_consent__text {
    margin-bottom: 16px !important;
    line-height: 1.5 !important;
}

.gdpr__cookie_consent__buttons {
    display: flex !important;
    gap: 8px !important;
    justify-content: flex-end !important;
}

.gdpr__cookie_consent__buttons__ok,
.gdpr__cookie_consent__buttons__ko {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    border: none !important;
    border-radius: 8px !important;
    color: white !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
}

.gdpr__cookie_consent__buttons__ok:hover,
.gdpr__cookie_consent__buttons__ko:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.gdpr__cookie_consent__buttons__ko {
    background: linear-gradient(135deg, #6b7280, #4b5563) !important;
}

.gdpr__cookie_consent__buttons__ko:hover {
    background: linear-gradient(135deg, #4b5563, #374151) !important;
}

/* Responsive design */
@media (max-width: 640px) {
    .gdpr__cookie_consent {
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
        max-width: none !important;
    }

    .gdpr__cookie_consent__buttons {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .gdpr__cookie_consent__buttons__ok,
    .gdpr__cookie_consent__buttons__ko {
        width: 100% !important;
    }
}

#back {
  background-color: #f5f5f5;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  padding: 15px;
  margin-top: 30px;
}
#container {
  box-shadow: 1px 5px 10px gray;
  border-radius: 10px;
}
#calendar {
  margin-top: 4rem;
  position: absolute;
  top: 20px;
  left: 20px;
  border-radius: 10px;
  padding: 10px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark transparent background */
  backdrop-filter: blur(8px); /* Blur effect */
  display: flex;
  align-items: flex-start; /* Align modal to the top */
  justify-content: center;
  z-index: 10; /* Ensure it’s above everything else */
  padding-top: 5%; /* Add some padding from the top */
  margin-top: 40px; /* Adjust margin as needed */
}

.modal {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 90%; /* Adjust width as needed */
  max-width: 600px; /* Limit maximum width */
  padding: 2rem; /* Inner padding */
  overflow-y: auto; /* Enable scrolling if content is too long */
  max-height: 90vh; /* Limit height to 90% of the viewport */
}

.cancel-button {
  background-color: #1530ff;
  font-size: 12px;
  color: white;
  padding: 4px 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
  text-decoration: none;
}
.cancel-button:hover {
  background-color: #2640fe;
}

.congratulations-card {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: white;
  padding: 20px;
  text-align: center;
  max-width: 800px;
  margin: 80px auto;
}

.congratulations-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.congratulations-message {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.congratulations-submessage {
  font-size: 1rem;
  opacity: 0.9;
}

.modern-grid-bg {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  background-color: #111827; /* Tailwind gray-900, same as navbar */
}
