/* Base page styles */

body {
  background-image: url("/static/images/papyrus.57fa854e33d7.png");
  background-repeat: repeat;
}

.navbar-brand, .navbar-nav .nav-link {
  font-family: 'Montserrat', sans-serif;
}

.navbar-brand {
  font-size: 1.75rem; 
  font-weight: 900;
  display: flex;
  align-content: center;
}

.navbar-nav .nav-link {
  font-size: 1rem;
  font-weight: 600;
}

.navbar-nav .nav-link:hover, .navbar-brand:hover {
  text-decoration: underline;
  text-decoration-color: lightblue; 
  text-decoration-thickness: 2px;
}

@media (max-width: 991px) { 
  #navbarSupportedContent {
    text-align: center;
  }
  #navbarSupportedContent .navbar-nav .nav-item {
    display: block;
    margin-right: 0;
    margin-left: 0;
  }
  #navbarSupportedContent .navbar-nav .nav-link {
    display: inline-block;
  }
}

.footer {
position: relative;
bottom: 0;
color: #333;
text-align: center;
padding: 10px 0; /* Adjust padding to suit your design */
}

.footer::before {
content: ''; /* Necessary for the pseudo-element to show */
position: absolute;
top: 0; /* Align to the top of the footer */
left: 50%; /* Start from the middle */
transform: translateX(-50%); /* Center the pseudo-element */
width: 80%; /* The width of the border you want */
height: 1px; /* The height of the border */
background-color: blue; /* The color of the border */
}

.footer a {
color: #333; /* White color for the icons */
text-decoration: none;
margin-right: 15px; /* Adjust the spacing between the icons */
}

.footer a:hover {
color: #267EFF; /* Lighter color on hover */
}

/* Increase icon size */
.footer .fab {
font-size: 1.5rem;
}

/* generate page styles */

.container {
font-family: 'Montserrat', sans-serif;

}

.content-container {
text-align: center; /* Center content within each block */
max-width: 100%; /* Adjust as needed */
padding: 20px; /* Add spacing around the content */
}

.title {
font-size: 30px; /* Adjust the desired font size */
font-weight: bold; /* Adjust the desired font weight (thickness) */
}

/* Target the subtitle element */
.subtitle {
font-size: 14px; /* Adjust the desired font size */
font-weight: normal; /* Adjust the desired font weight (e.g., normal, bold, etc.) */
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
.title {
    font-size: 60px; /* Adjusted size for medium screens */
}
.subtitle {
    font-size: 20px; /* Adjusted size for medium screens */
}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
.title {
    font-size: 80px; /* Desired size for large screens */
}
.subtitle {
    font-size: 18px; /* Desired size for large screens */
}
}

.upload-container {
text-align: center; /* Center content horizontally */
display: flex;
flex-direction: column; /* Stack elements vertically */
justify-content: center; /* Center content vertically */
align-items: center; /* Center content horizontally */
padding: 20px; /* Add spacing around the content */
}

.content-container2 {
  text-align: left; /* Center content within each block */
  max-width: 100%; /* Adjust as needed */
}

.settings-container, .button-container {
margin-bottom: 20px; /* Add spacing between the blocks */
}

.horizontal-settings {
display: flex;
justify-content: space-between; /* Align content horizontally with space between items */
align-items: center; /* Center content vertically */
}

.myfont1 {
font-size: 20px; /* Adjust the desired font size */
font-weight: bold;
}

.bordered-settings {
border: 2px dashed lightgray; /* Set border style and color */
border-radius: 10px; /* Set rounded corners */
padding: 20px; /* Add some padding to the container */
cursor: pointer;
background-color: white;
display: flex;
justify-content: center;
align-items: flex-end;
flex-direction: column;
}

.upload-box {
position: relative; /* Position relative for absolute positioning of children */
text-align: center; /* Center the text and content */
padding: 25px 60px 50px 60px; /* Increase padding to give a larger clickable area */
width: auto; /* default medium size */
height: auto;
display: flex;
align-content: center;
justify-content: center;
flex-wrap: wrap;
}

.file-count-display {
  color: #333; 
}

@media (min-width: 992px) {
.upload-box {
  max-width: 500px; /* large size */
  height: auto; /* large size */
}
}

@media (max-width: 768px) {
.upload-box {
  max-width: 100%; /* small size */
  height: auto; /* small size */
}
}

.upload-box:hover {
cursor: pointer; /* Light background on hover for visual feedback */
}

.upload-instructions {
position: absolute;
top: 60%; /* Position below the '+' icon */
width: 100%; /* Full width */
left: 0;
font-size: 14px; /* Adjust font size as needed */
color: #d3d3d3; /* Light grey color for the text */
}

#imageUpload {
display: none;
}

.icon-and-text svg {
width: 70px; /* Adjust width as needed */
height: auto;
margin-bottom: 20px;
}


.generate-button {
background-color: #267EFF; 
color: white; 
border: none;
padding: 0.5rem 1rem;
border-radius: 30px; 
cursor: pointer;
font-size: 14px;
font-weight: bold;
margin-top: 1rem; 
width: 80%;
}

.generate-button:hover {
  background-color: #0056b3; 
}

.generate-button:disabled, .generate-catalogue-button:disabled {
  background-color: #A0AEC0; 
  color: #CBD5E0;
  cursor: not-allowed; 
}

.demo-button {
  background-color: #267EFF; 
  color: white; 
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 30px; 
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  margin-top: 1rem; 
  width: 80%;
  }
  
  .demo-button:hover {
    background-color: #0056b3; 
  }

/* The switch - the box around the slider */
.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
opacity: 0;
width: 0;
height: 0;
}

/* The slider */
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
}

.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}

input:checked + .slider {
background-color: #2196F3;
}

input:focus + .slider {
box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
border-radius: 34px;
}

.slider.round:before {
border-radius: 50%;
}

.switch-box {
display: flex;
align-items: center; /* This will vertically center the items */
gap: 10px; /* This creates space between the slider and the text */
background-color: whitesmoke;
border-color: #2196F3;
border-radius: 34px;
padding: 5px;
margin: 0 10px;
}

.myfont2 {
padding-right: 10px;
white-space: nowrap;
}


/* history page styles */
.title-2 {
font-size: 2.2rem; /* Adjust the desired font size */
font-weight: bold; /* Adjust the desired font weight (thickness) */
}

/* Target the subtitle element */
.subtitle-2 {
font-size: 1.12rem; /* Adjust the desired font size */
font-weight: normal; /* Adjust the desired font weight (e.g., normal, bold, etc.) */
}

.remove-button {
background-color: #00DF09; /* Button color */
color: white; /* Text color */
border: none;
padding: 0.5rem 1rem;
border-radius: 30px; /* Rounded corners for the button */
cursor: pointer;
font-size: 14px;
font-weight: bold;
margin-top: 1rem; /* Space above the button */
margin-bottom: 10px;
width: 200px;
}

.remove-button:disabled {
background-color: #BDC1BF;
color: white;
cursor: default;
}

/* Table headers */
.history-table thead th {
background-color: #267EFF; 
color: white; 
padding: 0.75rem 1rem;
text-align: left;
}

/* Table body rows */
.history-table tbody td {
padding: 0.75rem 1rem;
border-bottom: 1px solid #eaeaea; /* Light border for each row */
}
.history-table thead th:first-child {
border-top-left-radius: 8px; /* Rounds the top left corner */
}
.history-table thead th:last-child {
border-top-right-radius: 8px; /* Rounds the top right corner */
}

/* Hover effect for rows */
.history-table tbody tr:hover {
background-color: #f5f5f5; /* Slightly darker row on hover */
}

/* Base style for all status indicators */
.state-column span {
display: inline-block;
padding: 0.25rem 0.75rem;
border-radius: 15px; /* Rounded corners */
color: lightslategray;
font-weight: bold;
}

/* Styles for different statuses */
.state-column span.completed {
background-color: #00DF09; /* Green for completed */
}

.state-column span.in-progress {
background-color: #FFF0B6; /* Yellow for in progress */
}

.state-column span.failed {
background-color: #dc3545; /* Red for failed */
}

/* Home styles */
.custom-max-img-size {
max-width: 900px;
max-height: 500px; 
width: auto; 
height: auto; 
}

.custom-step-card {
background-color: #267EFF; 
border-radius: 0.5rem; 
height: 100%; 
background-size: cover;
background-position: center;
}

.equal-height {
display: flex;
flex-direction: column;
width: 100%;
}

i {
display: inline-block;
width: 30px;
}

.custom-border {
border: 8px solid #007bff; 
border-radius: 25px; 
padding: 1rem;
display: flex; 
flex-direction: column; 
justify-content: top;
height: 100%;
}

.equal-height-img {
display: flex; 
align-items: center; 
justify-content: center; 
}

.equal-height-img img {
max-width: 100%; 
max-height: 100%; 
height: auto; 
}

.custom-h1 {
font-size: 400%;
font-weight: bold;
}

.custom-h2 {
font-size: 350%;
font-weight: bold;
}

.custom-h3 {
font-size: 300%;
font-weight: bold;
}

.custom-h4 {
font-size: 150%;
}

.custom-h5 {
font-size: 150%;
color: whitesmoke;
}

.custom-h6 {
font-size: 115%;
color: whitesmoke;
}

.custom-h7 {
font-size: 115%;
}

.custom-h8 {
font-size: 150%;
font-weight: bold;
}

/* Home video custom */
#player-container {
  position: relative;
  aspect-ratio: 3 / 2;
}

#custom-overlay, #youtube-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#youtube-player {
  display: none;
}

#custom-overlay {
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer; /* Indicates the overlay is clickable */
  z-index: 1; /* Ensure the overlay is above the YouTube player */
  background-image: url("../images/assets/aicataloguer_video_tumb.0645fc3cab11.png");
}

/* Pricing styles */

.custom-price-card {
  background-color: #267EFF; 
  border-radius: 2rem; 
  height: 100%; 
  background-size: cover;
  background-position: center;
  padding-top: 30px;
  padding-right: 20px;
  padding-left: 20px;
  padding-bottom: 10px;
  }

.pricing-footer {
  text-align: center;
}
.pallete-pro {
  color: #007bff;
  background-color: lightblue;
}
.pallete-free {
  color: black;
  background-color: lightgray;
}
.pallete-premium {
  color: white;
  background-color: #007bff;
}
.btn-free {
  background-color: black;
  color: white;
}

.btn-pro {
  background-color: #007bff;
  color: white;
}

.btn-premium {
  background-color: white;
  color: #007bff;
}

.pricing-body {
  min-height: 300px;
}

.annual-saving {
  display: none;
}

/* Sing-up styles */

/* New review table */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px; /* Could be more or less, depending on screen size */
  text-align: center;
}

.generate-catalogue-button {
  background-color: #267EFF; 
  color: white; 
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 30px; 
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 1rem; 
  width: 80%;
  max-width: 200px;
}

.generate-catalogue-button:hover {
    background-color: #0056b3; 
}


.pagination-button {
    padding: 5px 15px; /* Add some padding */
    margin: 5px; /* Add some margin around the buttons */
    background-color: #007bff; /* Set a background color */
    color: white; /* Set the text color */
    border: none; /* Remove the border */
    border-radius: 5px; /* Add rounded corners */
    cursor: pointer; /* Change cursor to pointer on hover */
    font-size: 1rem; /* Set font size */
}

.pagination-button:hover {
    background-color: #0056b3; 
}

.error-cell {
  color: red;
}

/* Tooltip Trigger Style */
.tooltip-trigger {
  position: relative;
  display: inline-block;
  cursor: help;
  border-radius: 50%; /* Make it round */
  background-color: #f0f0f0; /* Light grey background */
  width: 20px; /* Circle size */
  height: 20px; /* Circle size */
  text-align: center; /* Center the "?" horizontally */
  line-height: 20px; /* Center the "?" vertically */
  font-size: 14px; /* Adjust the font size of "?" as needed */
  margin-left: 5px;  /* Changes cursor to indicate it's interactive */
}

/* Tooltip Text Style */
.tooltip-text {
  visibility: hidden;
  width: 220px; /* Adjusted width for better text fit */
  background-color: black;
  color: #fff;
  text-align: left; /* Align text to the left */
  border-radius: 6px;
  padding: 10px; /* Added padding */
  line-height: 1.4; /* Improved line height for readability */
  
  /* Positioning */
  position: absolute;
  z-index: 1;
  top: 130%;
  left: 50%;
  margin-left: translateX(-50%); /* Adjusted to half of the new width */
  
  /* Fade in animation */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip Text Visibility on Hover */
.tooltip-trigger:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}


/* Testing */

:root {
  --white: white;
  --lightgray: whitesmoke;
  --darkgreen: #007bff;
}

.custom-container{
  text-align: center;
}

.switch-wrapper {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border: 1px solid lightgrey;
  margin-bottom: 40px;
  border-radius: 30px;
  background: var(--white);
}

.switch-wrapper [type="radio"] {
  position: absolute;
  left: -9999px;
}

.switch-wrapper [type="radio"]:checked#monthly ~ label[for="monthly"],
.switch-wrapper [type="radio"]:checked#yearly ~ label[for="yearly"] {
  color: var(--white);
}

.switch-wrapper [type="radio"]:checked#monthly ~ label[for="monthly"]:hover,
.switch-wrapper [type="radio"]:checked#yearly ~ label[for="yearly"]:hover {
  background: transparent;
}

.switch-wrapper
  [type="radio"]:checked#monthly
  + label[for="yearly"]
  ~ .highlighter {
  transform: none;
}

.switch-wrapper
  [type="radio"]:checked#yearly
  + label[for="monthly"]
  ~ .highlighter {
  transform: translateX(100%);
}

.switch-wrapper label {
  font-size: 28px;
  z-index: 1;
  min-width: 300px;
  line-height: 40px;
  cursor: pointer;
  border-radius: 30px;
  transition: color 0.25s ease-in-out;
}

.switch-wrapper label:hover {
  background: var(--lightgray);
}

.switch-wrapper .highlighter {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 30px;
  background: var(--darkgreen);
  transition: transform 0.25s ease-in-out;
}

/* Verification email */

/* Styles for the content column */
.centered-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* This centers the content vertically if you want that */
  text-align: center; /* This centers the text inside your <p> and <h1> */
}

/* Styles for the email icon */
.email-icon {
  font-size: 200px; /* Scales with the viewport width */
  color: #007bff; /* Your existing color */
  padding-right: 200px;
}

.highlight-section {
  background-color: rgba(0, 123, 255, 0.5); /* Semi-transparent white background */
  border-radius: 10px; /* Rounded corners */
  padding: 20px; /* Padding inside the section */
}

.video-responsive {
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
}

.video-responsive iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.dot {
  animation-name: dot;
  animation-duration: 1.3s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.dot:nth-child(1) {
  animation-delay: 0.5s;
}

.dot:nth-child(2) {
  animation-delay: 0.7s;
}

.dot:nth-child(3) {
  animation-delay: 0.9s;
}

@keyframes dot {
  0%, 80%, 100% { opacity: 0; }
  40% { opacity: 1; }
}