.card:hover {
   
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
/* Dashboard */
.card-body h5 {
    font-weight: 600;
    font-size: 1.2rem;
}

.btn-success i {
    font-size: 1rem;
    vertical-align: middle;
}

/* admin dashboard */


/* generate ads */
.formatted-text {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

.formatted-text h2,
.formatted-text h3 {
    margin-top: 12px;
    margin-bottom: 6px;
}

.formatted-text p,
.formatted-text li {
    margin-bottom: 4px;
}

.formatted-text ul {
    list-style-type: disc;
    margin-left: 1.5em;
    padding-left: 0.5em;
}

#loading-indicator {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.contact-section {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
}

.contact-section input,
.contact-section textarea {
    transition: all 0.2s ease;
    
}

.contact-section input:focus,
.contact-section textarea:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    border-color: #0d6efd;
    
}
.btn-gradient {
    background: linear-gradient(to right, #6a00ff, #0072ff);
    border: none;
    color: white;
}

/* My Photos template */
.image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;  /* alebo 4 / 3 ak chceš iný pomer */
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: #f0f0f0; /* neutrálny podklad pred načítaním */
  position: relative;
}
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}


.image-wrapper img:hover {
  transform: scale(1.03);
}

.before-after-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.before-after-wrapper .before-image,
.before-after-wrapper .after-image {
  position: absolute;
  top: 0; left: 0; height: 100%; width: 100%;
  background-size: cover;
  background-position: center;
}
.before-after-wrapper .after-image {
  clip-path: inset(0 50% 0 0);
}
.before-after-wrapper input.before-after-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  cursor: ew-resize;
  background: transparent;
  z-index: 10;
  -webkit-appearance: none;
}
.before-after-wrapper input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 100%;
  width: 2px;
  background: #007bff;
  border: none;
}

.hover-scale {
  transition: transform 0.3s ease;
}
.hover-scale:hover {
  transform: scale(1.03);
}
