/* LÜVD Skincare - Custom Styles */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('/static/seraphm_A_beautiful_field_of_flowers_colorful_with_the_sun_shin_cd82d8e7-6e6d-41fd-8736-05ea938431d6.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Brand Styling */
.brand-font {
    font-weight: 600;
    letter-spacing: 1px;
    color: #4a2d4a;
}

.brand-subtitle {
    color: #6d3d6d;
    font-size: 1.15rem;
    font-weight: 300;
}

/* Form elements styling */
.form-control, .form-select {
    border-radius: 0.5rem;
    border-color: rgba(211, 181, 211, 0.4);
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: rgba(106, 73, 106, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(106, 73, 106, 0.25);
}

/* Form checks and radios */
.form-check-input:checked {
    background-color: #6a496a;
    border-color: #6a496a;
}

.form-check-label {
    padding-left: 0.25rem;
}

/* Button styling */
.btn-primary {
    background-color: #6a496a;
    border-color: #6a496a;
    border-radius: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #4a2d4a;
    border-color: #4a2d4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: #6a496a;
    border-color: #6a496a;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: #6a496a;
    border-color: #6a496a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Card styling */
.card {
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-header, .card-footer {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(211, 181, 211, 0.5);
}

/* Glass card effect */
.glass-card {
  background-color: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.glass-card .card-header,
.glass-card .card-footer {
  background-color: rgba(255, 255, 255, 0.5) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.glass-card .card-body {
  background-color: rgba(255, 255, 255, 0.4) !important;
}

/* Gradient Button - Inspired by Uiverse.io, customized for LÜVD */
.btn-gradient {
  --clr-font-main: hsla(0 0% 100% / 100);
  --btn-bg-1: hsla(294 30% 55% / 1); /* Light purple */
  --btn-bg-2: hsla(296 40% 35% / 1); /* Dark purple */
  --btn-bg-color: hsla(360 100% 100% / 1);
  --radii: 0.5rem;
  cursor: pointer;
  padding: 0.9em 1.4em;
  min-width: 150px;
  min-height: 44px;
  font-size: var(--size, 1rem);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: 0.8s;
  background-size: 280% auto;
  background-image: linear-gradient(
    325deg,
    var(--btn-bg-2) 0%,
    var(--btn-bg-1) 55%,
    var(--btn-bg-2) 90%
  );
  border: none;
  border-radius: var(--radii);
  color: var(--btn-bg-color);
  box-shadow:
    0px 0px 20px rgba(106, 73, 106, 0.5),
    0px 5px 5px -1px rgba(74, 45, 74, 0.25),
    inset 4px 4px 8px rgba(211, 181, 211, 0.5),
    inset -4px -4px 8px rgba(74, 45, 74, 0.35);
}

.btn-gradient:hover {
  background-position: right top;
}

.btn-gradient:is(:focus, :focus-visible, :active) {
  outline: none;
  box-shadow:
    0 0 0 3px var(--btn-bg-color),
    0 0 0 6px var(--btn-bg-2);
}

@media (prefers-reduced-motion: reduce) {
  .btn-gradient {
    transition: linear;
  }
}
