/* Add Film Page Styles */
.add-film-container {
    min-height: 100vh;
    max-height: 100dvh;
    background: #000000;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    position: relative;
    overflow-y: auto;
}

/* When showing success page only, remove padding */
.add-film-container:has(.step.active) {
    padding: 0;
    overflow: hidden;
}

/* Search View */
.search-view {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 5rem;
}

.search-view-content {
    width: 100%;
    padding-bottom: 5rem; /* Ensure enough space at bottom so cards are never cut off */
}

.search-view-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Search Bar Styles */
.search-bar-container {
    margin-bottom: 2rem;
    width: 100%;
}

.search-bar-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.25rem;
    pointer-events: none;
    z-index: 1;
}

.search-bar-input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 3.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.1rem;
    font-family: inherit;
    text-align: left;
    box-sizing: border-box;
    transition: all 0.2s ease;
    outline: none;
}

.search-bar-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 2;
    width: 32px;
    height: 32px;
    line-height: 1;
}

.search-bar-clear i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

.search-bar-clear:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.search-bar-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.search-bar-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Trending Section */
.trending-section {
    margin-top: 3rem;
}

.trending-section-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.01em;
}

/* Movies Grid (for both trending and search results) */
.movies-grid,
.autocomplete-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 0 5rem 0; /* Add bottom padding so last items are fully visible on all screen sizes */
}

.autocomplete-container {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.autocomplete-container.showing {
    opacity: 1;
    transform: translateY(0);
}

.autocomplete-container[style*="grid"] {
    display: grid;
}

/* Movie Card */
.autocomplete-card {
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    aspect-ratio: 2/3;
    display: flex;
    flex-direction: column;
    position: relative;
}

.autocomplete-card:hover {
    opacity: 0.85;
}

.autocomplete-card:active {
    opacity: 0.75;
}

.autocomplete-card-poster {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000000;
    flex: 1;
    min-height: 0;
}

.autocomplete-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.autocomplete-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.autocomplete-card-info {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.autocomplete-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.autocomplete-card-year {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.autocomplete-loading,
.autocomplete-no-results,
.autocomplete-error {
    padding: 3rem 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    grid-column: 1 / -1;
}

.autocomplete-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 4rem 1.5rem;
}

.autocomplete-no-results-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    opacity: 0.6;
}

/* Log Film Modal */
.log-film-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.log-film-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 25001;
}

.log-film-content {
    position: relative;
    z-index: 25002;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(40px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 0;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95);
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.log-film-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background-size: cover;
    background-position: center;
    filter: blur(40px);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.log-film-header {
    position: relative;
    z-index: 1;
    padding: 2rem 2rem 1.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
}

.log-film-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.log-film-close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.log-film-title-info {
    flex: 1;
    min-width: 0;
    padding-right: 3rem; /* Add padding to prevent overlap with close button */
}

.log-film-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.log-film-year {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-weight: 400;
}

.log-film-separator {
    position: relative;
    z-index: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 2rem;
}

.log-film-form {
    position: relative;
    z-index: 1;
    padding: 2rem 2rem 2rem;
}

.log-film-section {
    margin-bottom: 2.5rem;
}

.log-film-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Date Selector (keep existing styles, adjust for form) */
.date-selector-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    flex-wrap: nowrap;
}

.date-select {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    padding: 0.75rem 2.5rem 0.75rem 1.25rem !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: -0.03em !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M10 15L3 8h14z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    font-family: inherit !important;
    line-height: 1 !important;
}

.date-select-day {
    min-width: 90px;
    text-align: center;
}

.date-select-month {
    min-width: 110px;
    text-align: left;
}

.date-select:hover {
    background-color: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.date-select:focus {
    outline: none !important;
    background-color: rgba(255, 255, 255, 0.28) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

.date-select option {
    background: #000000;
    color: white;
    font-size: 1rem;
}

.date-year-text {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    border-radius: 16px !important;
    letter-spacing: -0.03em !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3) !important;
    display: inline-block;
    min-width: 90px;
    text-align: center;
    line-height: 1 !important;
    font-family: inherit !important;
}

/* Rating Slider */
.rating-slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.rating-display-input {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    text-align: center;
    width: auto;
    min-width: 120px;
    transition: all 0.3s ease;
    letter-spacing: -0.05em;
    line-height: 1;
    font-family: inherit;
    outline: none;
    cursor: text;
}

.rating-display-input:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.rating-display-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.rating-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.rating-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rating-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.rating-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rating-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Segmented Control */
.segmented-control {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.25rem;
    position: relative;
}

.segmented-control::before {
    content: '';
    position: absolute;
    top: 0.25rem;
    bottom: 0.25rem;
    left: 0.25rem;
    width: calc(50% - 0.375rem);
    background: rgba(144, 238, 144, 0.4); /* Pastel green for First Time */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
    opacity: 0; /* Hidden by default - only show when a button is selected */
}

.segmented-control.has-selection::before {
    opacity: 1; /* Show indicator when a button is selected */
}

.segmented-control.selected-right::before {
    transform: translateX(calc(100% + 0.5rem));
    background: rgba(255, 255, 255, 0.2); /* Grey for Rewatch */
}

.segmented-control-button {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    position: relative;
    z-index: 1;
}

.segmented-control-button:hover {
    color: rgba(255, 255, 255, 0.9);
}

.segmented-control-button.selected {
    color: #ffffff;
}

/* First Time button gets pastel green when selected */
.segmented-control-button#rewatch-no.selected {
    color: #90ee90; /* Pastel green text */
}

/* Rewatch button stays white when selected */
.segmented-control-button#rewatch-yes.selected {
    color: #ffffff;
}

/* Save Button */
.log-film-save-button {
    width: 100%;
    padding: 1.25rem 2.5rem;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    margin-top: 1rem;
}

.log-film-save-button:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.log-film-save-button:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.log-film-save-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Success Step */
.step {
    display: none;
}

.step.active {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    animation: fadeIn 0.3s ease;
    z-index: 10000 !important;
    background: #000000;
    margin: 0 !important;
    padding: 0 !important;
}

.step-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.step-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 auto 3rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 100%;
}

.success-title {
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.success-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.success-message-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

.success-message-text .success-number {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.35rem;
}

.success-highlight {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-align: center;
    margin: 0;
    line-height: 1.5;
    padding: 0.75rem 1.5rem;
    background: rgba(81, 207, 102, 0.15);
    border: 1px solid rgba(81, 207, 102, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.finish-button {
    background: rgba(255, 255, 255, 0.1);
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    border-radius: 22px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    min-height: 44px;
    touch-action: manipulation;
    letter-spacing: -0.01em;
    margin: 1rem auto 0;
    display: block;
}

.finish-button:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.finish-button:active:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(0.98);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    gap: 1.5rem;
}

.loading-overlay p {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

/* Responsive Styles */
@media (min-width: 768px) {
    .movies-grid,
    .autocomplete-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .search-view-title {
        font-size: 3rem;
    }
    
    .log-film-title {
        font-size: 2rem;
    }
    
    .step.active {
        padding: 2rem;
    }
    
    .step-content {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .search-view-title {
        font-size: 2rem;
    }
    
    .movies-grid,
    .autocomplete-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding-bottom: 5rem; /* Ensure bottom padding on mobile */
    }
    
    
    .step-content {
        padding-top: 0;
    }
    
    .log-film-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .log-film-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .log-film-close {
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .log-film-title-info {
        padding-right: 3rem;
    }
    
    .log-film-title {
        font-size: 1.5rem;
    }
    
    .log-film-separator {
        margin: 0 1.5rem;
    }
    
    .log-film-form {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .rating-display-input {
        font-size: 3rem;
    }
    
    .date-select {
        font-size: 1.3rem !important;
        padding: 0.65rem 2rem 0.65rem 1rem !important;
    }
    
    .date-select-day {
        min-width: 80px;
    }
    
    .date-select-month {
        min-width: 100px;
    }
    
    .date-year-text {
        font-size: 1.3rem !important;
        padding: 0.65rem 1.25rem !important;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .add-film-container {
        padding: 1.5rem 1rem;
        padding-top: 5rem;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .search-view-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .trending-section-title {
        font-size: 1.1rem;
    }
    
    .movies-grid,
    .autocomplete-container {
        gap: 0.875rem;
        padding-bottom: 5rem; /* Ensure bottom padding on small mobile */
    }
    
    .autocomplete-card-info {
        padding: 0.75rem;
    }
    
    .autocomplete-card-title {
        font-size: 0.9rem;
    }
    
    .autocomplete-card-year {
        font-size: 0.75rem;
    }
    
    .log-film-content {
        width: 100%;
        max-height: 90vh;
        border-radius: 16px;
    }
    
    .log-film-header {
        padding: 1.25rem 1.25rem 1rem;
    }
    
    .log-film-close {
        top: 1.25rem;
        right: 1.25rem;
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .log-film-title-info {
        padding-right: 2.5rem; /* Adjust padding for smaller screens */
    }
    
    .log-film-title {
        font-size: 1.35rem;
    }
    
    .log-film-year {
        font-size: 0.9rem;
    }
    
    .log-film-separator {
        margin: 0 1.25rem;
    }
    
    .log-film-form {
        padding: 2rem 1.25rem 1.25rem;
    }
    
    .log-film-section {
        margin-bottom: 2rem;
    }
    
    .rating-display-input {
        font-size: 2.5rem;
        min-width: 100px;
    }
    
    .date-selector-container {
        gap: 0.5rem;
    }
    
    .date-select {
        font-size: 1.1rem !important;
        padding: 0.6rem 1.75rem 0.6rem 0.85rem !important;
        min-width: 70px;
    }
    
    .date-select-day {
        min-width: 70px;
    }
    
    .date-select-month {
        min-width: 85px;
    }
    
    .date-year-text {
        font-size: 1.1rem !important;
        padding: 0.6rem 1rem !important;
        min-width: 70px;
    }
    
    .date-select {
        background-size: 16px 16px !important;
        background-position: right 0.5rem center !important;
    }
    
    .segmented-control-button {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .log-film-save-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .step-content {
        padding-top: 0;
    }
    
    .success-title {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        font-size: 1.75rem;
    }
    
    .success-message-text {
        font-size: 1.1rem;
    }
    
    .success-message-text .success-number {
        font-size: 1.2rem;
    }
    
    .success-highlight {
        font-size: 1rem;
        padding: 0.625rem 1.25rem;
    }
}
