/* core-ui.css */

.post-container {
  background: #fff;
    max-width: 100%;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 9px;
}

.small-container {
  background: #fff;
    max-width: 600px;
    margin: 20px auto 400px;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 9px;
}

.large-container {
  background: #fff;
    width: 100%;
    margin: 20px auto;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    background-color: blue;
}

.large-container-email-only {
  position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: blue;
    padding: 20px; 
    box-sizing: border-box;
    
    
    display: flex;
    align-items: center;       
    justify-content: center;
}

.address-map-container {
  margin: 60px 0;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 8px;
}

.address-map-container .map-address {
  margin-bottom: 10px;
}

.company-facts {
  padding: 15px;
  border-radius: 6px;
}

.company-facts h3 {
  margin-bottom: 0.5em;
  font-size: 1.1em;
}

.company-facts p {
  margin-bottom: 1em;
  white-space: pre-wrap;
}

#email-form-container {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#email-form-container form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offer-cards {
  display: flex; 
    flex-wrap: wrap; 
    gap: 12px; 
    align-items: stretch;
}

.offer-card {
  position: relative;
    flex: 1 1 calc(33.33% - 16px); 
    max-width: calc(33.33% - 16px);
    height: 400px; 
    display: flex;
    flex-direction: column;
    border-radius: 16px; 
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    overflow: hidden;
}

.offer-card-inner {
  display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%; 
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.offer-card-front,
.offer-card-back {
  position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 

    padding: 16px;
    box-sizing: border-box;
}

.offer-card-front {
  background-color: white;
    z-index: 2;
}

.offer-card-back {
  background-color: #fff;
    transform: rotateY(180deg); 
    z-index: 1;
}

.offer-card.flipped .offer-card-inner {
  transform: rotateY(180deg);
}

.offer-card img {
  width: 100%; 
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    border-radius: 4px; 
    display: block; 
    border-radius: inherit;
}

.confirmation-message {
  color: red;
    font-weight: bold;
    line-height: 1.3;
}

.offer-card h3, 
.offer-card p, 
.offer-card button {
  margin: 12px 0;
    font-size: 1em;
    text-align: center;
}

.offer-card button,
.optin-button, 
.giveaway-view-details {
  display: block;
    width: 100%;
    padding: 5px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.offer-card button:hover,
.optin-button:hover,
.giveaway-view-details:hover {
  background-color: #005f8a;
}

.offer-card-back h3 {
  margin-bottom: 16px;
    text-align: center;
}

.offer-card-back .giveaway-details,
.offer-card-back p {
  text-align: left; 
    margin-bottom: 16px; 
    line-height: 1.6; 
    font-size: 14px;
}

.offer-card-back p strong {
  display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.close-card {
  position: absolute;
    top: 10px;
    right: 10px;
    background: white; 
    border: 1px solid #ddd; 
    border-radius: 50%; 
    font-size: 16px; 
    font-weight: bold;
    color: black; 
    cursor: pointer;
    width: 30px; 
    height: 30px; 
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    transition: background-color 0.3s, color 0.3s;
}

.close-card:hover {
  background: #f0f0f0; 
    color: #333;
}

.business-card {
  border: 1px solid #ddd;
    padding: 10px;
    margin: 10px;
    width: 333px;             
    display: inline-block;    
    text-align: center;
    background: white;
    border-radius: 10px;
}

.business-cards {
  display: flex;
    flex-wrap: wrap;      
    justify-content: center; 
    margin: 20px 0;
}

.business-card:hover {
  transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.business-card img {
  width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.business-card h3 {
  font-size: 1.4em;
    margin: 10px 0;
    color: #333;
}

.business-card p {
  font-size: 1em;
    color: #777;
    margin-bottom: 15px;
}

.business-card-link {
  display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.business-card-link:hover {
  background-color: #005177;
}

.dashboard-modal .dashboard-modal-content button {
  background-color: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.dashboard-modal-overlay {
  position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: blue;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: auto;
}

.dashboard-modal-content {
  position: relative; 
    background: #fff;
    border-radius: 8px;
    max-width: 800px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-height: 95vh; 
    width: 90vw;
    overflow-y: auto;
    padding: 20px;
}

.modal-close-wrapper {
  position: sticky;
    top: 0px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    z-index: 1100;
    margin-bottom: -10px;
}

.close-popup {
  background: white;
    border: none;
    font-size: 20px;
    color: #333;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

#close-success-popup {
  position: absolute;
  top: 10px;   
  right: 10px;
}

.modal-header {
  position: relative; 
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: inherit;
    z-index: 1000;
}

.dashboard-modal-lines p {
  margin: 4px 0;
    color: #555;
    text-align: left;
}

.dashboard-modal-header {
  position: relative;
}

.modal-lines p {
  font-size: 14px;
}

.dashboard-modal-header h2,
.dashboard-modal-header h3 {
  text-align: center;
}

.close-popup:hover {
  background: #f0f0f0;
    color: #007bff;
}

#calendar {
  width: 100%;
    margin: 0 auto;
    table-layout: fixed;
    border-collapse: collapse;
}

.calendar-available {
  text-align: center;
    padding: 10px;
}

.pay-button {
  position: fixed;
    top: 150px;
    right: 10px;
    z-index: 1000; 
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 14px;
}

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

.modal-content {
  background-color: white;
  padding: 20px;
}

#dashboard-modal .ll-step[data-step="4"] textarea {
  min-height: 60px;
  max-height: 80px;
  height: 70px;
  resize: vertical;
}

.std-button {
  border-radius: 5px;
    background-color: #007bff;
    color: white;
    padding: 6px;
    width: 100%;
    margin: 20px;
}

button.processing {
  background-color: white;
  color: red;
  border: 1px solid red;
}

button.processing .dots {
  animation: blinking 1s infinite;
}

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

.main {
  text-align: center;
}

.social-login-buttons {
  display: inline-block;
}

.social-login-buttons .nextend-social-login-buttons {
  display: flex;
    justify-content: center;
    gap: 10px;
}

.button.facebook, .button.twitter {
  display: inline-block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
}

.button.facebook {
  background-color: #3b5998;
}

.button.facebook:hover {
  background-color: #314e86;
}

.button.twitter {
  background-color: #000;
}

.button.twitter:hover {
  background-color: #333;
}

.login-button-container {
  display: flex;
    flex-direction: column;
    align-items: center;
}

.login-btn {
  padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none; 
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
  background-color: #0056b3;
}

.button-note {
  font-size: 0.9em;
    color: #666;
    margin-top: 2px; 
    text-align: center;
}

.fullwidth-blue {
  display: block;
  width: 100%;
  margin-top: 20px;
  background-color: #0073aa;
  color: #fff;
  border: none;
  padding: 10px 16px;
  text-align: center;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

.fullwidth-blue:hover {
  background-color: #005d8c;
}

.blue-button {
  color: white;
  font-size: 20px;
  background-color: #345eeb;
  display: block;       
  margin: 0 auto;       
  transition: background-color 0.2s ease;
  padding: 12px 22px;
  border-radius: 12px;
}

.blue-button:hover {
  background-color: #20398c;
}

.red-button {
  color: white;
  font-size: 20px;
  background-color: #fc3a3a;
  display: block;       
  margin: 0 auto;       
  transition: background-color 0.2s ease;
  padding: 12px 22px;
  border-radius: 12px;
}

.red-button:hover {
  background-color: #c22b2b;
}

.engagement-confirmed-message {
  color: red;
  font-weight: bold;
  margin-top: 10px;
  text-align: center;
}

.engagement-confirmation-box {
  padding: 20px;
  background: #e6ffe6;
  border: 1px solid #b3ffb3;
  color: #1b4f1b;
  text-align: center;
}

.ll-step-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

#dashboard-modal .ll-step-buttons button {
  appearance: none;
  -webkit-appearance: none;
  background-color: #0073aa;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  text-transform: none;
  line-height: 1.2;
  text-align: center;
  border: none;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}

#dashboard-modal .ll-step-buttons button:hover {
  background-color: #005d8c;
}

#ll-email-only-form .email-input {
  margin-bottom: 12px;
  display: block;
}


/* Base styling for all upgrade buttons */
.upgrade-button {
  display: inline-block;
  margin: 0 20px;
  background-color: #cc0000;
  color: #ffffff;
  padding: 2px 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upgrade-button:hover {
  background-color: #aa0000;
}

/* Larger, centered version for onboarding */
.upgrade-button.upgrade-onboard {
  display: block;
  text-align: center;
  margin: 20px auto;
  padding: 12px 24px;
  font-size: 18px;
  border-radius: 8px;
  background-color: #d33;
}

/* Optional: tighten dashboard spacing if needed */
.upgrade-button.upgrade-dashboard {
  margin: 0 10px;
}



.start-here-content {
  margin-bottom: 20px; 
    padding: 10px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.tabs {
  display: flex;
    flex-wrap: wrap; 
    align-items: flex-end;
    justify-content: flex-start; 
    margin-bottom: 0;
    border-bottom: none; 
    gap: 0px;
}

.tab {
  background-color: blue;
    color: white;
    padding: 10px 20px; 
    font-size: 18px; 
    border-radius: 10px 10px 0 0;
    border: 1px solid white;
    border-bottom: none;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 0 0 auto; 
    text-align: center;
    white-space: nowrap;
}

.tab-active {
  background-color: white;
    color: black;
    border-color: blue;
    border-bottom: 2px solid white; 
    position: relative; 
    z-index: 2; 
    margin-bottom: -1px;
}

.tab-contents {
  border: 1px solid lightgray;
    padding: 20px;
    border-radius: 0 0 10px 10px;
    background: white;
    margin-top: -1px; 
    z-index: 1; 
    position: relative;
}

.tab-content {
  display: none;
}

.tab-content.tab-content-active {
  display: block;
}

.business-logo img {
  max-width: 250px;
    height: auto;
}

.featured-image img {
  max-width: 500px;
    height: auto;
}

.ll-gallery-item {
  position: relative;
    display: inline-block;
}

.ll-gallery-item img {
  max-width: 100px;
    height: auto;
}

.ll-remove-image {
  position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    font-weight: bold;
}

.logo-container,
.images-container {
  margin-bottom: 15px;
}

.logo-controls,
.images-controls {
  display: flex;
    align-items: center;
    gap: 10px; 
    margin-bottom: 5px;
}

.logo-preview,
.images-gallery {
  margin-top: 5px;
}

.logo-preview {
  position: relative;
    display: inline-block;
}

#ll_images_gallery {
  display: block;
    margin-top: 5px;
}

.image-gallery {
  text-align: center;
    margin-top: 20px;
}

.image-gallery img {
  display: inline-block;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
  transform: scale(1.05);
    border-color: #aaa;
}

.image-preview-wrapper {
  position: relative;
    width: 200px;
    background-color: #f1f1f1;
}

.delete-image-button {
  background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.2s ease;
}

.delete-image-button:hover {
  background-color: rgba(255, 0, 0, 0.7);
}