:root {
  --bg-color: rgb(244, 241, 251);
  --primary-color: #5a25bd;
  --primary-light: #5a25bd98;
}

body {
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    background-color: var(--bg-color);
    font-size: medium;
    background: linear-gradient(90deg, rgba(217, 237, 248, 1) 0%, rgba(222, 218, 244, 1) 100%);
}

nav {
    background: #001D57;
    background: linear-gradient(90deg, rgba(0, 29, 87, 1) 0%, rgba(84, 0, 115, 1) 50%, rgba(90, 37, 189, 1) 100%);
    display: flex;
    align-items: center;
    padding: 1.5em;
}

nav > * {
    padding: 0.5em;
    margin: 0 0.5em;
    text-decoration: none;
    color: #ffffff;
}

nav a {
    border-bottom: solid 3px #ffffff00;
    transition-duration: .25s;
}

nav a:hover {
    border-bottom: solid 3px #FFFFFF;
}

main {
    flex: 1;
}

.link {
    text-decoration: none;
    color: #000000;
}

#dropdown-button {
    display: none;
    padding: 0.5em;
    margin: 0 0.5em;
    text-decoration: none;
    color: #ffffff;
}

.nav-dropdown-content {
    transition-duration: 0.25s;
}

.nav-dropdown-content > * {
    padding: 0.5em;
    margin: 0 0.5em;
    text-decoration: none;
    color: #ffffff;
}

#menu-icon {
  display: none;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-footer {
    background: linear-gradient(135deg, #f5f3ff, #fafafa);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-top: 10em
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
}

.footer-brand h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #666;
    line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    text-decoration: none;
    color: #666;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #7b2cbf;
}

.footer-social .social-icons {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(123, 44, 191, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: linear-gradient(135deg, #7b2cbf, #9d4edd);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #777;
}

.parking-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;     /* vertical */
}

.parking-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 3rem;
    font-size: 1.5rem;
    text-align: center;
    border-radius: 0.5em;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}


.search-bar {
    border: solid 2px #5a25bd00;
    background-color: #fff;
    border-radius: 5px;
    height: 1.5em;
    color: black;
    transition-duration: 0.25s;
}

.search-bar:focus {
    border: solid 2px #5a25bd;
    outline: none;
}

.search-bar-hide {
    display: none !important;
}


#nav-left {
    margin-right: auto;
}

#nav-right {
    margin-left: auto;
}

.nav-icon {
    color: #ffffff;
    transition-duration: 0.25;
}

.nav-icon:hover {
    color: var(--primary-color);
}

.center-infobox {
    display: flex;
    flex-direction: column;
    margin: 4em 20%;
    padding: 2em;
    border-radius: 0.5em;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    background-color: #ffffff;
}

.login-infobox {
    display: flex;
    flex-direction: column;
    margin: 4em 20%;
    border-radius: 0.5em;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

.big-infobox {
    display: flex;
    flex-direction: column;
    margin: 2em 5%;
    padding: 2em;
    border-radius: 0.5em;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    background-color: #ffffff;
}

.hidden {
    display: none !important;
}

.show {
    display: block !important;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.subscription-features {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features h2, .subscription-features h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.features-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.subscription-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.8);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.subscription-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1em;
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.hero-content {
    max-width: 900px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: #7b2cbf;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 1rem 2.25rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn.primary {
    background: linear-gradient(135deg, #7b2cbf, #9d4edd);
    color: white;
    box-shadow: 0 10px 30px rgba(123, 44, 191, 0.3);
}

.hero-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(123, 44, 191, 0.45);
}

.hero-btn.secondary {
    border: 2px solid #7b2cbf;
    color: #7b2cbf;
    background: transparent;
}

.hero-btn.secondary:hover {
    background: rgba(123, 44, 191, 0.1);
    transform: translateY(-2px);
}

.about-platform {
    padding: 5rem 2rem;
    background-color: #fafafa;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
    align-items: center;
}

.about-logo {
    width: 200px;
    height: auto;
}

.about-founder {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
}

/* Mobile */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
}



.account-details-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.account-details-wrapper > * {
    flex: 1;
}

#header-message, #header-title{
    text-align: center;
}

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


/* Loading state */
.login-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

#alert-message {
  background: #fee;
  color: #c33;
  padding: 0.875rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  border-left: 4px solid #c33;
  display: none; /* Show with JS when needed */
}
#login-email,
#login-password,
#signup-message {
  font-weight: 600;
  color: #1a1a1a;
  margin: 0.75rem 0 0.5rem 0;
  font-size: 0.95rem;
}

#signup-message {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #f0f0f0;
  text-align: center;
  color: #666;
  font-weight: 500;
}

/* Sign Up Link */
.account-details-wrapper > a {
  display: inline-block;
  color: #7b2cbf;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.625rem 1.5rem;
  border: 2px solid #7b2cbf;
  border-radius: 8px;
  transition: all 0.25s ease;
  text-align: center;
  margin-top: 0.75rem;
}

.account-details-wrapper > a:hover {
  background: #7b2cbf;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(123, 44, 191, 0.3);
}

/* Hidden redirect input */
#redirectURL {
  display: none;
}

.form-inputs {
    box-sizing: border-box;
    border: 0.2em solid #ccc;
    background-color: #f5f5f5;
    border-radius: 0.5em;
    padding: 1em;
    width: 100%;
    transition-duration: 0.25s;
    font-family: inherit;
    font-weight: bold;
}

.form-inputs:focus {
    border: solid 2px #5a25bd;
    background-color: #f5f5f5;
    outline: none;
}

.real-file-input {
    display: none;
}

.upload-id-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-button {
    font-family: inherit;
    background-color: var(--primary-light);
    text-decoration: none;
    font-weight: bold;
    border-radius: 1em;
    border: solid var(--bg-color) 2px;
    color: #FFFFFF;
    padding: 1em 3em;
    text-align: center;
    margin: 1em;
    transition-duration: .25s;
}

.upload-button:hover {
    cursor: pointer;
    background-color: var(--primary-color);
}

#upload-id-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.subscription-button {
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.625rem 1.5rem;
    border: 2px solid #7b2cbf;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0.75rem;
    width: 50%;
    box-sizing: border-box;
    background: linear-gradient(135deg, #4a25aa 0%, #7b2cbf 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 37, 170, 0.3);
}

.flash-button {
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.625rem 1.5rem;
    border: 2px solid #7b2cbf;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(135deg, #4a25aa 0%, #7b2cbf 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 37, 170, 0.3);
}

/* Hover effect */
.flash-button:hover, .subscription-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 37, 170, 0.4);
  background: linear-gradient(135deg, #5a35ba 0%, #8b3ccf 100%);
  cursor: pointer;
}

.flash-button::after, .subscription-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.flash-button:hover::after, .subscription-button:hover::after {
  left: 100%;
}

#login-message {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #f0f0f0;
  text-align: center;
  color: #666;
  font-weight: 500;
  font-size: 0.95rem;
}

#login-message a {
  color: #7b2cbf;
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.25rem;
}

#login-message a:hover {
  text-decoration: underline;
  color: #5a1c9f;
}

.login-wrapper {
    display: flex;
    width: 100%;
}

.modal-buttons {
    display: flex;
    justify-content: space-between;
}

.modal-buttons > * {
    width: 50%;
}

.delete-button {
  font-family: inherit;
  text-decoration: none;
  font-weight: bold;
  border-radius: 0.5em;
  border: solid #fb3e3e 2px;
  color: #000;
  background-color: #ff8080;
  padding: 0.5em 3em;
  text-align: center;
  margin: 1em;
  transition-duration: .25s;
}

.approve-button {
  font-family: inherit;
  text-decoration: none;
  font-weight: bold;
  border-radius: 0.5em;
  border: solid #01d31a 2px;
  color: #000;
  background-color: #80ffb3;
  padding: 1em 3em;
  text-align: center;
  margin: 1em;
  transition-duration: .25s;
}

.approve-button:hover {
    cursor: pointer;
    background-color: #01d31a;
}

.cancel-button {
  font-family: inherit;
  text-decoration: none;
  font-weight: bold;
  border-radius: 0.5em;
  border: solid #b1b1b1 2px;
  color: #000000;
  background-color: #fff;
  padding: 0.5em 3em;
  text-align: center;
  margin: 1em;
  transition-duration: .25s;
}

.cancel-button:hover {
    cursor: pointer;
    background-color: #b1b1b1;
}


.edit-artwork-button {
    font-family: inherit;
    text-decoration: none;
    font-weight: bold;
    border-radius: 0.5em;
    border: solid var(--primary-light) 2px;
    color: #ffffff;
    background-color: var(--primary-light);
    padding: 0.5em 3em;
    text-align: center;
    margin: 1em;
    transition-duration: .25s;
}

.edit-artwork-button:hover {
    cursor: pointer;
    background-color: var(--primary-color);
}
.delete-button:hover {
    cursor: pointer;
    background-color: #fb3e3e;
}

/* Both halves take equal width */
.account-details-wrapper,
.login-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 1.5em;
}

.account-details-wrapper {
    text-align: left;
}


.login-graphic {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* centers text vertically */
    align-items: center;
    text-align: center;
    padding: 2em 1em;
    border-top-left-radius: 0.5em;
    border-bottom-left-radius: 0.5em;
    overflow: hidden; /* ensures SVG doesn't spill out */
    background-color: #001d57;
    min-height: 40em;
}

/* TEXT */
.login-graphic h1,
.login-graphic p {
    z-index: 2;  /* keep above svg */
    margin: 0.5em 0;
    color: #fff;
}

/* SVG at bottom */
.login-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;   /* SVG stretches across the bottom */
    z-index: 1;    /* behind text */
    pointer-events: none; /* avoids blocking clicks */
}

.login-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;   /* SVG stretches across the bottom */
    z-index: 1;    /* behind text */
    pointer-events: none; /* avoids blocking clicks */
    margin-bottom: 1em;
}

.signup-name-wrapper {
    display: flex;
    justify-content: space-between;
}

.signup-name-wrapper > * {
    width: 50%;
}

.signup-firstname {
    margin-right: 1em;
}


#signup-form {
    width: 100%;
}

#user-signup {
    display: none;
}

#signup-back {
    font-family: inherit;
    padding: 1em;
    width: 5em;
    border: 0.2em solid #ccc;
    background-color: #f5f5f5;
    border-radius: 0.5em;
    transition-duration: 0.25s;
    font-weight: bold;
}

#signup-back:hover {
    cursor: pointer;
    border: 0.2em solid var(--primary-color);
}

#account-check {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#alert-message, #bid-alert-message{
    display: none;
    padding: 0.5em;
    border: solid red;
    border-radius: 10px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

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

.profile-carousel-wrapper {
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;

}

.profile-artwork {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1em;
  padding: 1.5em;
 /* hide scrollbar in Firefox */
}

.profile-artwork-piece {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto; /* prevent wrapping */
    width: 15em;
    height: 27em;
    padding: 0.5em;
    align-items: stretch;
    background: #fff;
    text-align: center;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
    transition: transform 0.25s ease;
}
.profile-artwork-piece:hover {
  transform: translateY(-0.5em);
  cursor: pointer;
}

.profile-artwork-piece img {
  width: 100%;
  border-radius: 0.5em;
  height: 20em;
  object-fit: contain;
  background-color: #eee;
}

.profile-artwork-piece-text {
    padding-top: auto;
    display: flex;
    flex-direction: column;
    align-content: center;
}

.profile-artwork-piece > p {
    padding-bottom: 1em;
}

.carousel-btn {
  position: absolute;
  top: 40%; /* Position on the image */
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 1.25rem;
  color: #666;
}

.carousel-btn.left {
  left: 1rem; /* Inside the carousel */
}

.carousel-btn.right {
  right: 1rem; /* Inside the carousel */
}

.carousel-btn:hover {
  background: rgba(123, 44, 191, 0.95);
  border-color: #7b2cbf;
  color: white;
  box-shadow: 0 6px 20px rgba(123, 44, 191, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.profile-photo {
    width: 10em;
    height: 10em;
    border-radius: 1em;
    object-fit: cover;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

.profile-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.profile-info-center {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.profile-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.artists-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

/* Artist Card Styling */
.artist-card {
    width: 280px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 
                0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 1em;
}

.artist-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 
                0 16px 48px rgba(0, 0, 0, 0.08);
}

/* Profile Image */
.artist-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
/* Artist Info Section */
.artist-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    padding: 1.25rem;
    color: #1a1a1a;
    text-align: center;
    background: linear-gradient(to bottom, white 0%, #fafafa 100%);
}

/* Link wrapper */
a.link {
    text-decoration: none;
    color: inherit;
}

/* Optional: Add a subtle border gradient on hover */
.artist-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    border: solid 3px #9d4edd;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.artist-card:hover::before {
    opacity: 1;
}

/* Optional: Add verified badge or follower count */
.artist-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #7b2cbf;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Optional: Add stats below name */
.artist-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.25rem;
}

.artist-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.artist-stat-number {
    font-weight: 700;
    color: #7b2cbf;
    font-size: 1rem;
}

.artist-stat-label {
    color: #666;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-artwork-wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.profile-artwork-infobox {
    display: flex;
    flex-direction: column;
    margin: 1em 4em;
    padding: 2em;
    border-radius: 0.5em;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.selling-artwork-wrapper {
  display: flex;
  width: 100%;                /* full width of container */
  min-height: 60vh;           /* adjust for layout size */
  border-radius: 10px;
  overflow: hidden;
}

.selling-artwork-wrapper > img {
  width: 50%;                 /* left side */
  max-height: 40em;
  object-fit: contain;
  background-color: #eee;     /* optional: gray backdrop for transparent images */
}

.selling-artwork-info {
  width: 50%;                 /* right side */
  display: flex;
  flex-direction: column;
  text-align: left;
  box-sizing: border-box;
  padding: 1em;
}

.selling-artwork-info-row {
  display: flex;
  align-items: center;
  background: #fafafa;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  transition: 0.2s ease;
  cursor: pointer;
}
.selling-artwork-info-row:hover {
  background: #f0f0f0;
}

/* --- PROFILE IMAGE --- */
.selling-artist-profile-photo {
  width: 3.8em;
  height: 3.8em;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 0.5em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* --- ARTIST INFO TEXT --- */
.selling-artist-info {
  display: flex;
  flex-direction: column;
}
.selling-artist-info h3 {
  margin: 0;
  font-weight: 600;
}
.selling-artist-info p {
  margin: 0.2rem 0 0 0;
  color: #666;
}

.like-button {
    border: none;
    background: none;
}

.like-button > * {
    transition-duration: 0.25s;
}

.like-button > *:hover {
    color: red;
    cursor: pointer;
}

.upload-inputs {
    border: solid #000000 2px;
    border-radius: 0.5em;
    padding: 0.5em;
    width: 100%;
    text-align: center;
}

#image-preview {
  max-height: 300px;
  object-fit: contain;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

.auction-details-wrapper, .artwork-options-wrapper {
  padding: 1em;
  border-radius: 12px;
  background: #fafafa;
  border: 1px solid #eee;
  margin-top: 1rem;
  
}

.auction-details-wrapper h1 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
}
.auction-details-wrapper p {
  color: #555;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000; /* Above everything */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* Dim background */
  backdrop-filter: blur(1px);
  justify-content: center;
  align-items: center;
}

/* The popup box */
.modal-content {
  background-color: white;
  padding: 2em;
  border-radius: 12px;
  width: 90%;
  max-width: 30%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  animation: fadeIn 0.25s ease;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
}

#bid-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#bid-form > * {
    margin: 1em;
}

.entry-box {
  width: 50%;
  padding: 0.8rem;
  margin-top: 0.6rem;
  border-radius: 8px;
  border: 2px solid #ccc;
  text-align: center;
  font-size: 1rem;
  transition-duration: 0.25s;
}

.entry-box:focus {
    background-color: #FFFFFF;
    border: solid 2px #5a25bd;
    outline: none;
}

/* Close (×) button */
.close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #ffffff;
  transition: color 0.2s ease;
}

#close-modal {
  background-color: #5a25bd;
  border-radius: 50%;
  height: 1em;
  width: 1em;
  padding: 0.25em;
}

.close:hover {
  color: #000;
}

#bidding-close-message {
    text-align: center;
    padding: 0.5em;
    border: solid red;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

/* Basket Page Styles */
.basket-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Main Layout */
.basket-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    align-items: start;
}

/* Items Section */
.basket-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.basket-item-wrapper {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.basket-item-wrapper:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.basket-item-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.basket-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.basket-item-info h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.basket-item-info p {
    color: #666;
    font-size: 0.95rem;
    margin: 0 0 0.5rem 0;
}

.basket-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: #7b2cbf;
    margin: 0.5rem 0 0 0;
}

/* Remove Button */
.remove-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: #fee;
    border: 2px solid #fcc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #c33;
    font-size: 18px;
    font-weight: bold;
}

.remove-button:hover {
    background: #c33;
    color: white;
    border-color: #c33;
    transform: scale(1.1);
}

/* Summary Section */
.basket-summary {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 2rem;
}

.basket-summary h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #666;
}

.summary-row.total {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.summary-row .price {
    font-weight: 700;
    color: #1a1a1a;
}

.summary-row.total .price {
    color: #7b2cbf;
    font-size: 1.75rem;
}

.checkout-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(123, 44, 191, 0.3);
    margin-top: 1.5rem;
}

.checkout-button:hover {
    background: linear-gradient(135deg, #6a1faf 0%, #8d3ecd 100%);
    box-shadow: 0 6px 20px rgba(123, 44, 191, 0.4);
    transform: translateY(-2px);
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: #7b2cbf;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.continue-shopping:hover {
    color: #5a1c9f;
    text-decoration: underline;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #666;
}

.trust-badge-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

/* Empty State */
.empty-basket {
    text-align: center;
    padding: 6rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.empty-basket-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.empty-basket h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
}

.empty-basket p {
    font-size: 1.125rem;
    color: #666;
    margin: 0 0 2rem 0;
}

.empty-basket .btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
    color: white;
    box-shadow: 0 6px 24px rgba(123, 44, 191, 0.4);
    transition: all 0.3s ease;
}

.empty-basket .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(123, 44, 191, 0.5);
}

/* Link Styling */
a.link {
    text-decoration: none;
    color: inherit;
}

/* Responsive */
@media (max-width: 968px) {
    .basket-wrapper {
        grid-template-columns: 1fr;
    }

    .basket-summary {
        position: static;
    }

    #header-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .basket-container {
        padding: 1rem;
    }

    .basket-item-wrapper {
        flex-direction: column;
        padding: 1rem;
    }

    .basket-item-img {
        width: 100%;
        height: 200px;
    }

    #header-title {
        font-size: 1.75rem;
    }

    .empty-basket {
        padding: 4rem 1.5rem;
    }

    .empty-basket-icon {
        font-size: 4rem;
    }
}

.buy-button {
  font-family: inherit;
  background-color: var(--primary-light);
  text-decoration: none;
  font-weight: bold;
  font-size: large;
  border-radius: 1em;
  border: solid var(--bg-color) 2px;
  color: #FFFFFF;
  padding: 1em 3em;
  text-align: center;
  width: 100%;
  transition-duration: .25s;
}

.buy-button:hover {
  background-color: var(--primary-color);
  cursor: pointer;
}

.artwork-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
}

.artwork-piece {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 20em;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 
                0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.artwork-piece:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 
                0 16px 48px rgba(0, 0, 0, 0.08);
}

/* Link wrapper for image and text */
.artwork-piece .link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Image container with aspect ratio */
.artwork-piece img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}


/* Content area padding */
.artwork-piece .link > h2,
.artwork-piece .link > p {
    padding: 0 1.25rem;
}

/* Title styling */
.artwork-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
    color: #1a1a1a;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

/* Artist name styling */
.artwork-piece p {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 1rem 0;
    font-weight: 500;
}

/* Price and button container */
.artwork-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
    margin-top: auto;
    height: 4em;
}

.artwork-price h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* Add to cart form */
.add-to-basket-form {
    margin-top: auto;
}

/* Improved button styling */
.artwork-button {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(123, 44, 191, 0.25);
}

.artwork-button:hover{
    background: linear-gradient(135deg, #6a1faf 0%, #8d3ecd 100%);
    box-shadow: 0 4px 12px rgba(123, 44, 191, 0.35);
    transform: translateY(-1px);
}

.artwork-button:active {
    transform: translateY(0);
}

/* Auction badge (optional - add this to your HTML if needed) */
.artwork-piece[data-type="auction"]::before {
    content: "AUCTION";
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 10;
}

/* Auction-only price styling (no button) */
.artwork-piece[data-type="auction"] .artwork-price {
    padding: 1.25rem;
}

.artwork-piece[data-type="auction"] .artwork-price h3 {
    font-size: 1.5rem;
}

/* Auction price label */
.artwork-auction-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    display: block;
    margin-bottom: 0.25rem;
}

.glass-wrapper {
    display: flex;
    flex-direction: column;
    margin: 2em 5%;
    padding: 1.5em;
    border-radius: 0.5em;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.premium-wrapper {
    display: flex;
    flex-direction: column;
    margin: 2em 5%;
    padding: 1.5em;
    border-radius: 0.5em;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: solid 3px #9d4edd;
}

.likes-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  flex-wrap: wrap;
  gap: 1rem;
}

.likes-count {
  font-size: 1rem;
  color: #666;
  font-weight: 600;
}

.likes-count strong {
  color: #7b2cbf;
  font-size: 1.25rem;
}

.sort-dropdown {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sort-dropdown label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
}

.sort-dropdown select {
  padding: 0.625rem 2.5rem 0.625rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.sort-dropdown select:focus {
  outline: none;
  border-color: #7b2cbf;
  box-shadow: 0 0 0 3px rgba(123, 44, 191, 0.1);
}

.artist-button {
    font-family: inherit;
    background-color: var(--primary-light);
    text-decoration: none;
    font-weight: bold;
    border-radius: 0.5em;
    border: solid var(--bg-color) 2px;
    color: #FFFFFF;
    padding: 1em 2em;
    text-align: center;
    margin: 0.25em;
    margin-top: auto;
    transition-duration: .25s;
}

.artwork-button:hover, .artist-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 37, 170, 0.4);
  background: linear-gradient(135deg, #5a35ba 0%, #8b3ccf 100%);
  cursor: pointer;
}

.artwork-piece img, .id-card {
  width: 100%;
  border-radius: 0.5em;
  height: 20em;
  object-fit: contain;
  background-color: #eee;
  
}

.verify-id-card-wrapper {
    display: flex;
}

.verify-id-card-wrapper > .verify-id-card {
    margin: 1em;
}

.back-button {
    font-family: inherit;
    padding: 1em;
    width: 1em;
    border: 0.2em solid #ccc;
    background-color: #f5f5f5;
    border-radius: 0.5em;
    transition-duration: 0.25s;
    font-weight: bold;
    text-decoration: none;
}

.artwork-piece-text {
    padding-top: auto;
    display: flex;
    flex-direction: column;
    align-content: center;
}

.artwork-price {
   display: flex; 
   justify-content: space-around;
   margin-top: auto;
}

.upload-title, .upload-desc {
    display: flex;
    flex-direction: column;
}

.upload-title-desc, .upload-price-date {
    display: flex;
}

.upload-title-desc > *, .upload-price-date > * {
    flex: 1;
}

.upload-title, .upload-price {
    margin-right: 1em;
}


.artwork-header {
    margin: 2em 5%;
}

.artwork-filters {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.artwork-search {
    display: flex;
    flex-direction: row;

}

.artwork-search > * {
    margin: 0.5em;
}

#filter-search {
    width: 10em;
    text-align: start;
}

.artwork-info {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
}

.artwork-filter-button {
  /* Base styles */
  padding: 12px 24px;
  font-size: 15px;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 3.5em;
  
  /* Gradient background to match your header */
  background: linear-gradient(135deg, #4a25aa 0%, #7b2cbf 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(74, 37, 170, 0.3);
}

.artwork-search-button {
    height: 3em;
}

/* Hover effect */
.artwork-filter-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 37, 170, 0.4);
  background: linear-gradient(135deg, #5a35ba 0%, #8b3ccf 100%);
}

/* Active/pressed state */
.artwork-filter-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(74, 37, 170, 0.3);
}

/* Shimmer effect on hover (optional fancy touch) */
.artwork-filter-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.artwork-filter-button:hover::after {
  left: 100%;
}

/* Alternative: Outlined style if you prefer subtler */
.artwork-filter-button-outlined {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid #7b2cbf;
  border-radius: 12px;
  background: white;
  color: #7b2cbf;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.artwork-filter-button-outlined:hover {
  background: #7b2cbf;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(123, 44, 191, 0.3);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.page-btn {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    background: #f3f3f3;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.page-btn:hover {
    background: #ddd;
}

.page-btn.active {
    background: #7b2cbf;
    color: white;
}



.filter-modal, .edit-artwork-modal, .delete-artwork-modal {
  display: none;               /* hidden by default */
  position: fixed;
  z-index: 2000;               /* safely above other content */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
  
  /* Needed for centering */
  justify-content: center;
  align-items: center;
}

/* Modal content */
.filter-modal-content, .edit-artwork-modal-content, .delete-artwork-modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 8px 20px;
  position: relative;
  animation: fadeIn 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1em;
}

.filter-form-fields {
    display: flex;
    flex-direction: column;
}

.filter-form-fields > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-form-fields > div > * {
    flex: 1;
}

/* Close button (X) */
.filter-close, .edit-artwork-close, .delete-artwork-close {
  position: absolute;
  right: 1rem;
  top: 0.8rem;
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0.2s;
}

.filter-close:hover, .edit-artwork-close, .delete-artwork-close {
  color: #5a25bd;
}

#edit-artwork-form {
    display: flex;
    flex-direction: column;
}

#edit-artwork-form > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.basket-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
}

.basket-modal-content {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 2em;
    border-radius: 12px;
    width: 90%;
    max-width: 26em;
    text-align: center;
    position: relative;
    animation: popIn 0.25s ease;
}

.basket-modal-close {
    position: absolute;
    top: 0.6em;
    right: 0.8em;
    font-size: 1.5em;
    cursor: pointer;
}

.id-buttons {
    display: flex;
}

.sales-table {
    width: 100%;
    overflow-x: auto;
}

.sales-table table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
}

.sales-table td, .sales-table th{
    text-align: left;
}

.onboarding-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Header */
.onboarding-header {
    text-align: center;
    margin-bottom: 3rem;
}

.onboarding-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.onboarding-header p {
    font-size: 1.125rem;
    color: #666;
}

/* Progress Steps */
.progress-steps {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.progress-steps h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.steps-list {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2rem;
}

.steps-list::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 60px;
    right: 60px;
    height: 4px;
    background: #e0e0e0;
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 4px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.5rem;
    font-weight: 700;
    color: #999;
    transition: all 0.3s ease;
}

.step.active .step-circle {
    background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
    border-color: #7b2cbf;
    color: white;
    box-shadow: 0 4px 16px rgba(123, 44, 191, 0.3);
}

.step.completed .step-circle {
    background: #4caf50;
    border-color: #4caf50;
    color: white;
}

.step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
}

.step.active .step-label {
    color: #7b2cbf;
}

.step.completed .step-label {
    color: #4caf50;
}

/* Instructions Section */
.instructions-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.instructions-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.instruction-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.instruction-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.instruction-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.instruction-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.instruction-content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Form Sections */
.form-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.form-section .subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Payment Setup Section */
.payment-setup {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stripe-info {
    background: #f8f4ff;
    border-left: 4px solid #7b2cbf;
    border-radius: 8px;
    padding: 1.5rem;
}

.stripe-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stripe-info p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.stripe-button {
    width: 100%;
    padding: 1.25rem;
    background: #635bff;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(99, 91, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.stripe-button:hover {
    background: #5449d4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 91, 255, 0.4);
}

.stripe-button::before, .stripe-button-disabled::before {
    content: "💳";
    font-size: 1.5rem;
}

.stripe-button-disabled {
    width: 100%;
    padding: 1.25rem;
    background: #343089;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(55, 50, 143, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
} 

/* ID Upload Section */
.upload-id-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.real-file-input {
    display: none;
}

.upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    border: 2px dashed #7b2cbf;
    border-radius: 12px;
    color: #7b2cbf;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.upload-button:hover {
    background: #f8f4ff;
    border-color: #5a1c9f;
}

.upload-button::before {
    content: "📁";
    font-size: 1.5rem;
}

#image-preview-container {
    display: none;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    max-width: 400px;
    margin: 1em;
}

#image-preview-container.visible {
    display: block;
}

#image-preview {
    width: 100%;
    height: auto;
    display: block;
}

.id-requirements {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 1.25rem;
}

.id-requirements h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #856404;
    margin-bottom: 0.75rem;
}

.id-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.id-requirements li {
    color: #856404;
    font-size: 0.9rem;
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.id-requirements li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 700;
}

.submit-button {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(123, 44, 191, 0.3);
    display: none;
}

.submit-button:hover {
    background: linear-gradient(135deg, #6a1faf 0%, #8d3ecd 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 44, 191, 0.4);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Success Message */
.success-message {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    border-radius: 8px;
    padding: 1.5rem;
}

.waiting-message {
    background: #ffd9ad;
    border-left: 4px solid #ed8e21;
    border-radius: 8px;
    padding: 1.5rem;
    display: block;
}

.show {
    display: block;
}

.success-message h3 {
    color: #2e7d32;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.success-message p {
    color: #2e7d32;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .onboarding-header h1 {
        font-size: 2rem;
    }

    .steps-list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .steps-list::before {
        display: none;
    }

    .form-section,
    .instructions-section,
    .progress-steps {
        padding: 1.5rem;
    }

    .instruction-item {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}


@media only screen and (max-width:1500px) {
    .glass-wrapper {
        margin: 4em 5%;
    }

}

@media only screen and (max-width:1200px) {
    #dropdown-button {
        display: inline;
    }

    .nav-dropdown-content {
        display: none;
    }

    #nav-dropdown:hover  .nav-dropdown-content{
        display: flex;
        flex-direction: column;
        background: white;
        position: absolute;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        padding: 0.5em;
        z-index: 999;
        margin-top: 1em;
        border-radius: 0.25em;
        
    }

    #nav-dropdown-content > a {
        color: #000;
    }

    .basket-wrapper {
        flex-direction: column;
    }

    .basket-item-wrapper {
        width: 100%;
    }

    .basket-info {
        width: 100%;
    }

    .login-wrapper {
        flex-direction: column;
    }

    .login-graphic {
        min-height: 25em;
    }

    .login-infobox {
        margin: 4em 5%;
    }

}

@media (max-width: 1000px) {
  /* Hide links by default on small screens */
  nav > a {
    display: none;
    width: 100%;            /* full width for stacked layout */
    text-align: left;
  }

  /* show menu icon */
  #menu-icon {
    display: inline-block;
    margin-left: auto;      /* push it to the right */
  }

  #nav-right {
    margin: 0 0.5em;
  }

  /* when nav has .showDisplay, stack vertically and show links */
  nav.showDisplay {
    flex-direction: column;    /* << important: change flex axis to vertical */
    align-items: stretch;      /* let children fill width */
    gap: 0;
  }

  nav.showDisplay > * {
    display: block;            /* show links stacked */
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: transparent;
  }

  nav.showDisplay, .nav-dropdown-content {
    display: flex !important;
    flex-direction: column;
  }

  nav.showDisplay, #nav-dropdown-content a {
    padding: 0.5em;
    text-decoration: none;
    color: #ffffff;
  }

  #nav-dropdown-content {
    display: flex;
    flex-direction: column;
  }

  nav.showDisplay #dropdown-button {
    display: none !important;
    pointer-events: none;
    visibility: hidden;
  }

  nav.showDisplay #nav-dropdown {
    display: flex;
    flex-direction: column;
    margin: 0;
  }


  #nav-dropdown {
    display: none;
    padding-top: 0;
    padding-bottom: 0;
  }

  .selling-artwork-wrapper {
    flex-direction: column;
  }

  .selling-artwork-wrapper > img {
    width: 100%;
  }

  .selling-artwork-info {
    width: 100%;
  }


}

@media only screen and (max-width:700px) {
    .profile-info {
        flex-direction: column;
    }

    .profile-artwork-infobox {
        margin: 2em 0;
        padding: 2em .5em;
    }

    .glass-wrapper {
        margin: 2em 0;
        padding: 2em .5em;
    }

    .selling-artwork-info {
        padding: 0em;
    }

    .signup-name-wrapper {
        flex-direction: column;
    }

    .signup-name-wrapper > * {
        width: 100%;
    }

    .artwork-header {
        display: flex;
        flex-direction: column;
    }

    .subscription-features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }

    .subscription-features {
        padding: 1em;
    }

    .parking-box {
        font-size: 1rem;
        padding: 1rem;
    }
}
