/* Page Indicator Styles */
.page-indicator {
    position: fixed;
    top: 2rem;
    left: 95%;
    z-index: 1000;
    display: flex;
    align-items: center;
}

/* Results Page Styles */
.results-header h1 {
    padding: 1rem;
    line-height: 1.5;
    text-shadow: 0.2rem 0.2rem 0.4rem rgba(0, 0, 0, 0.3);
}

.results-page .container {
    color: #333333;
    text-align: center;
}

.results-page .results-content {
    margin-top: 1rem;
    padding-bottom: 7rem;
}

.results-page h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.results-page h2 {
    font-size: 1.5em;
    margin-bottom: 1rem;
}

.result-message,
.gender-stats,
.abstract-figurative > p,
.category-analysis > p,
.medium-analysis > p,
.liked-artworks > p {
    font-size: 1.5rem;
    line-height: 2.5rem;
    margin-bottom: 2rem;
}

.result-stats h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.result-stats h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.stats-text {
    color: #FF0000;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.liked-artworks {
    margin-bottom: 2rem;
}

.liked-artworks h3 {
    margin-bottom: 1rem;
}

.store-instruction {
    font-size: 1em;
    margin-bottom: 20px;
    opacity: 0.9;
}

.artwork-grid {
    display: grid;
    /*align-items: center;*/
    /*grid-template-columns: repeat(auto-fill, minmax(40%, 1fr));*/
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.artwork-img > * {
    min-height: calc(100vh - 8rem);  /* Full viewport minus margins/padding */
    /*display: flex;*/
    align-items: center;
    justify-content: center;
}

.artwork-image-link {
    display: block;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.artwork-image-link:hover img {
    opacity: 0.8;
    transform: scale(1.05);
}

.artwork-item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.7rem;
    color: #333;
}

.artwork-item img {
    width: 100%;
    height: 400px;
    min-height: calc(100vh - 10rem);
    object-fit: contain;
    border-radius: 5px;
    margin-bottom: 10px;
    background: #f0f0f0;
}

.artwork-item p {
    font-size: 1.5rem;
    margin: 5px 0;
    line-height: 2rem;
}

.artwork-store-link {
    text-decoration: none;
}

.action-buttons {
    margin-top: 30px;
}

.action-buttons a,
.action-buttons button {
    margin: 0 10px;
}

.price-analysis h3 {
    font-size: 1.5rem;
    line-height: 2.5rem;
}

.price-analysis p {
    font-size: 1.5rem;
    line-height: 2.5rem;
}

.btn-nav {
    padding: 1rem;
    /*background: white;*/
    /*color: #667eea;*/
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    border-radius: 50%;
    font-weight: bold;
    font-size: 4rem;
    transition: transform 0.2s;
}

.btn-prev .btn-next {
    font-size: 6rem;
}


.btn-prev, .btn-disabled {
    position: fixed;
    bottom: 2rem;
    left: 2.5rem;
}

.btn-next {
    position: fixed;
    bottom: 2rem;
    right: 2.5rem;
}

.btn-finish {
    position: fixed;
    bottom: 2rem;
    right: 2.5rem;
}

.btn-nav:hover {
    transform: scale(1.05);
}

.btn-nav.btn-disabled {
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
}

/* Page Dots */
.page-dots {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.7rem;
}

.page-dot {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s;
}

.page-dot.active {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.3);
}

.page-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Favourite - Stars */

.star-label {
    display: inline-block;
    cursor: pointer;
}

/* Hide the actual checkbox */
.star-checkbox {
    display: none;
}

.star-checkbox:checked + .star-label .star-empty {
    display: none;
}

.star-checkbox:not(:checked) + .star-label .star-filled {
    display: none;
}

.star-checkbox:checked + .star-label .star-filled {
    display: inline;
}

/* Show empty star by default */
.star-empty {
    color: gold;
    position: relative;
    font-size: 2.5rem;
    display: inline;
}

.star-filled {
    color: gold;
    font-size: 2.5rem;
    display: none;
}

/* Selection Counter Styles */
.selection-counter {
    margin-top: 2rem;
    font-size: 1.5rem;
}