
/* Override Bootstrap defaults */
html, body {
    width: 100% !important;
    height: 100% !important;
    overflow-x: hidden !important;
    background: green !important;
  }
  
  /* Your custom body styles */
  body {
    background: linear-gradient(135deg, #00FFFF, #FF66B2) !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    color: white !important;
    font-family: 'Open Sans', sans-serif !important;
  }
  
  
 

.btn-primary {
    background-color: #C2185B;
    border-color: #C2185B;
    color: white;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
    background-color: #A0144B;
    border-color: #A0144B;
}

.color-box {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    font-size: 0.9rem;
   
    margin: 10px 0;
    height: 85px;
  justify-content: center;
  margin: 5px 0;
  padding: 5px 5px 5px 15px;
    width: 100%;
}

.color-results {
    margin-top: 20px;
}

.color-swatch {
    border: 1px solid white;
    border-radius: 5px;
    height: 50px;
    margin-right: 10px;
    width: 50px;
}

footer {
    background: rgba(0, 0, 0, 0.8);
    bottom: 0;
    font-size: 0.8rem;
    left: 0;
    padding: 10px;
    text-align: center;
    width: 100%;
    display: table-row;
}

footer a {
    color: #00FFFF;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-column {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    flex: 1;
    padding: 10px;
    text-align: center;
}

.footer-column:last-child {
    border-right: none;
}

.footer-container {
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    font-size: 0.9rem;
    justify-content: space-between;
    padding: 15px;
}

.footer-container a {
    color: #00FFFF;
    text-decoration: none;
}

.footer-container a:hover {
    text-decoration: underline;
}

.header-container {
    align-items: center;
    display: flex;
    gap: 40px;
    justify-content: space-between;
    margin: auto;
    max-width: 1200px;
    padding: 20px;
}

.header-left {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    text-align: left;
    min-width:  577px;
}

.header-right {
    flex: 1;
    text-align: right;
}

.header-title-container {
    align-items: center;
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.header-title-container a{
 color: white;
 text-decoration: none;
}
.header-title-container img{
    vertical-align: middle;
}
.header-title-container  h1{
   display: inline-block;
   top: 27px;
  position: relative;
  left: 24px;
   }

h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    margin: 0;
}

.kofi-container {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.kofi-header {
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}

.kofi-header:hover {
    transform: scale(1.1);
}

.kofi-icon {
    height: 40px;
}

.kofi-logo {
    height: 30px;
    vertical-align: middle;
}

.kofi-text {
    font-size: 0.9rem;
    max-width: 200px;
    opacity: 0.8;
}

.logo {
    height: auto;
    width: 70px;
}

.margin-below {
    padding-bottom: 200px !important;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    padding: 8px 12px;
    text-align: center;
}

.stats-container {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.upload-container {
    display: block;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }
  
  .upload-container input {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  
  .upload-container button {
    display: block;
    width: 100%;
    margin-top: 10px; /* Space between input and button on mobile */
  }
  
  /* On desktop (wider screens), make them appear side-by-side */
  @media (min-width: 577px) {
    .upload-container {
      display: flex;
      gap: 10px;
      align-items: center;
    }
  
    .upload-container input {
      flex-grow: 1;
    }
  
    .upload-container button {
      width: auto;
      flex-shrink: 0;
      margin-top: 0; /* Remove extra spacing on desktop */
    }
  }

  /* Limit max-width to 60% on Mobile */
@media (max-width: 576px) {
    .header-right {
      max-width: 60%;
    }
  }
  

#fileInput {
    border-radius: 8px;
    font-size: 1.1rem;
    padding: 12px;
}

#imageContainer img {
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
    max-width: 100%;
}

#loadingIndicator {
    max-width: 550px;
    padding: 10px;
}

#loadingIndicator .col-sm-s{
    padding-top: 7px;
  text-align: left;
}

#swipeButton {
    font-size: 1.1rem;
    padding: 12px 18px;
    border-radius: 10px !important;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.upload-container {
    align-items: center;
    display: flex;
    margin-top: 10px;
    max-width: 500px;
}

/* Responsive Color Grid */
@media (min-width: 992px) {
    .color-results .color-box {
        width: calc(33.333% - 20px);
    }
}

@media (max-width: 991px) {
    .color-results .color-box {
        width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {

  
    .color-results .color-box {
        width: 100%;
    }
}


.app-install {
    display: none; /* Hidden by default */
    text-align: center;
    background-color: #007bff; /* Bootstrap primary blue */
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
  }
  
  /* Show only on mobile */
  @media (max-width: 576px) {
    .app-install {
      display: block;
      width: 90%;
      margin: 15px auto;
    }
  }
  
  /* Style the link */
  .app-install a {
    color: white;
    text-decoration: none;
  }
  
  .app-install a:hover {
    text-decoration: underline;
  }
  