/* Navigation and header styling */
.menu-column {
    display: flex;
    justify-content: flex-end;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 700;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #ff6b6b;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff6b6b;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Page structure */
.page-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

header {
    text-align: left;
    margin-bottom: 20px;
}

/* Upload area */
.upload-area {
    border: 2px dashed #3498db;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #ddd;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.upload-area.active {
    border-color: #3498db;
    background-color: #e3f2fd;
}

.upload-icon {
    font-size: 55px;
    color: #3498db;
    margin-bottom: 15px;
    display: block;
}

/* File information */
.file-info {
    margin: 20px 0;
    padding: 15px 20px;
    background-color: #EBF5FB;
    border-left: 4px solid #3498db;
    border-radius: 6px;
    display: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 15px;
}

button, .button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.25);
}

button:hover, .button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(41, 128, 185, 0.3);
}

#resetBtn {
    background-color: #e74c3c;
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.25);
}

#resetBtn:hover {
    background-color: #c0392b;
    box-shadow: 0 6px 12px rgba(192, 57, 43, 0.3);
}

button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Quality settings */
.options {
    margin: 25px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.options label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
}

/* Quality settings */
.optionsw {
    margin: 5px 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.optionsw label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2c3e50;
}


/* Slider styling */
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(to right, #2ecc71, #f1c40f, #e74c3c);
    outline: none;
    opacity: 0.85;
    transition: opacity 0.2s, box-shadow 0.3s;
    margin: 10px 0;
}

.slider:hover {
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

/* Progress bar */
.progress-container {
    display: none;
    margin: 25px 0;
}

.progress-bar {
    height: 12px;
    background-color: #ecf0f1;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress {
    height: 100%;
    background: linear-gradient(to right, #3498db, #2ecc71);
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 6px;
}

#progressText {
    font-size: 14px;
    color: #7f8c8d;
    text-align: center;
}

/* Message boxes */
.error {
    color: #c0392b;
    background-color: #fadbd8;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    display: none;
    border-left: 4px solid #e74c3c;
    box-shadow: 0 2px 5px rgba(231, 76, 60, 0.2);
    font-weight: 500;
}

/* Enhanced success message - more compact */
.success {
    background-color: #e7f7ed;
    border: 1px solid #2ecc71;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    display: none;
    box-shadow: 0 3px 15px rgba(46, 204, 113, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

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

.success-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    width: 100%;
}

.success-icon {
    font-size: 30px;
    color: #2ecc71;
    margin-right: 10px;
}

.success-title {
    font-size: 18px;
    font-weight: 600;
    color: #2ecc71;
}

.download-button {
    display: inline-block;
    background: linear-gradient(to right, #2ecc71, #27ae60);
    color: white;
    font-weight: 600;
    padding: 15px 35px; /* Increased padding */
    border-radius: 30px;
    font-size: 18px; /* Increased font size */
    margin: 5px 0 20px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    border: none;
    cursor: pointer;
    width: auto;
    min-width: 250px; /* Ensure minimum width */
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    background: linear-gradient(to right, #27ae60, #219653);
}

.download-icon {
    margin-right: 10px;
    font-size: 20px; /* Bigger icon */
}

.file-stats {
    display: flex;
    justify-content: center;
    margin: 10px 0 0 0;
    font-size: 13px;
    color: #555;
    width: 100%;
}

.file-stats div {
    padding: 0 15px;
    border-right: 1px solid #ddd;
    text-align: center;
}

.file-stats div:last-child {
    border-right: none;
}

.file-stats .stat-value {
    font-weight: 600;
    font-size: 16px;
    display: block;
    margin-top: 5px;
    color: #333;
}

.reduction-badge {
    display: inline-block;
    background-color: #3498db;
    color: white;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 11px;
    margin-top: 5px;
}

/* Information sections */
.info-section {
    margin-top: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-section h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 15px;
}





/* Selected files display */
.selected-files {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.selected-files h4 {
    margin-top: 0;
    color: #2c3e50;
    margin-bottom: 10px;
}

.selected-files ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.selected-files li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.selected-files li:last-child {
    border-bottom: none;
}

/* Converted files list */
.converted-files {
    margin-top: 20px;
    text-align: left;
}

.converted-files h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.converted-files-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.file-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.file-name {
    flex: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    flex: 1;
    text-align: right;
    margin-right: 10px;
}

.file-download {
    flex: 0 0 30px;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
}

.conversion-summary h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Responsive design */
@media (max-width: 768px) {
    .header-row {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-column {
        margin-top: 15px;
    }
    
    .main-nav li {
        margin: 0 10px;
    }
    
    .upload-area {
        padding: 25px 15px;
    }
    
    .file-stats {
        flex-direction: column;
    }
    
    .file-stats div {
        padding: 10px 0;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    
    .file-stats div:last-child {
        border-bottom: none;
    }
    
    .button-group {
        flex-direction: column;
        gap: 10px;
    }
    
    button, .button, .download-button {
        width: 100%;
    }
}




/* Base container styles */
.info-container-base {
  max-width: 510px;
  padding: 30px 30px 38px; /* Extra bottom padding for the accent bar */
  border: none;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.07);
  background-color: #ffffff;
  position: relative;
}

/* Accent bar base style - positioned at bottom */
.accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Tricolor bar styles */
.accent-bar.tricolor-bgr {
  background: linear-gradient(to right, 
    #3498db 0%, #3498db 33.33%, 
    #2ecc71 33.33%, #2ecc71 66.66%, 
    #e74c3c 66.66%, #e74c3c 100%);
  height: 6px;
}

.accent-bar.tricolor-gry {
  background: linear-gradient(to right, 
    #2ecc71 0%, #2ecc71 33.33%, 
    #e74c3c 33.33%, #e74c3c 66.66%, 
    #f1c40f 66.66%, #f1c40f 100%);
  height: 5px;
}

/* Monocolor bar styles */
.accent-bar.blue {
  background-color: #3498db; /* Blue */
  height: 6px;
}

.accent-bar.green {
  background-color: #2ecc71; /* Green */
  height: 5px;
}

.accent-bar.red {
  background-color: #e74c3c; /* Red */
  height: 6px;
}

.accent-bar.yellow {
  background-color: #f1c40f; /* Yellow */
  height: 6px;
}



/* Full width content wrapper */
.full-width-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

/* Full width info container */
.info-container-full {
    width: 100%;
    padding: 30px 30px 38px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.07);
    background-color: #ffffff;
    position: relative;
}

/* Modified content row */
.content-row-2 {
    padding: 30px 0;
    background-color: #f5f5f5;
    width: 100%;
}

/* Ad container special styling */
.ad-container {
    background-color: transparent;
    box-shadow: none;
    padding: 20px 0;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .info-container-full {
        padding: 20px 20px 30px;
    }
}





/* Stats container styling */
.stats-container {
    padding-bottom: 38px;
}

.stats-wrapper {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 20px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.total-stats {
    border-left: 5px solid #3498db;
}

.hourly-stats {
    border-left: 5px solid #2ecc71;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.stat-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    opacity: 0.2;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .stats-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}





/* Recommendation section styling */
/* Recommendation section styling - now outside the options box */
.conversion-recommendations {
    margin: 15px 0 25px 0;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.conversion-recommendations p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Link styling preserved from your custom_styles.css */
/* These classes are already in your CSS file, but I'm including them for reference */
a.one:link, a.one:visited {
   background-color: #81DCA1;
   color: black;
   padding: 0px 2px;
   text-align: center;
   text-decoration: none;
   display: inline-block;
   border-radius: 0.2rem;
}

a.one:hover, a.one:active {
   background-color: #ff9800;
}

a.two:link, a.two:visited {
   background-color: #ff9800;
   color: black;
   padding: 0px 2px;
   text-align: center;
   text-decoration: none;
   display: inline-block;
   border-radius: 0.2rem;
}

a.two:hover, a.two:active {
   background-color: #e7e7e7;
}

a.three:link, a.three:visited {
   background-color: #B8DFFF;
   color: black;
   padding: 0px 2px;
   text-align: center;
   text-decoration: none;
   display: inline-block;
   border-radius: 0.2rem;
}

a.three:hover, a.three:active {
   background-color: #FFDEDE;
}






/* Improved bullet styling for lists */
.info-container-full ol,
.info-container-full ul {
    padding-left: 0;
    list-style-position: inside;
    margin: 15px 0;
}

/* Custom styling for ordered lists (How to Convert) */
.info-container-full ol {
    counter-reset: item;
    list-style-type: none;
}

.info-container-full ol li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 18px;
    counter-increment: item;
}

.info-container-full ol li:before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
	background: #2eb5cc;
  /*  background: linear-gradient(135deg, #3498db, #2ecc71);*/
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.info-container-full ol li:last-child {
    margin-bottom: 0;
}

/* Custom styling for unordered lists (JPG Quality Settings) */
.info-container-full ul {
    list-style-type: none;
}

.info-container-full ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.info-container-full ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: #f1c40f;
    border-radius: 3px;
  /*  transform: rotate(45deg);*/
}

/* Different colors for quality settings list */
.info-container-full ul li:nth-child(1):before {
    background-color: #2ecc71; /* Green for high quality */
}

.info-container-full ul li:nth-child(2):before {
    background-color: #3498db; /* Blue for good quality */
}

.info-container-full ul li:nth-child(3):before {
    background-color: #f1c40f; /* Yellow for medium quality */
}

.info-container-full ul li:nth-child(4):before {
    background-color: #e74c3c; /* Red for low quality */
}

/* Important notes list styling */
.info-container-full h3 + ul li:before {
    background-color: #9b59b6; /* Purple for important notes */
    border-radius: 50%; /* Round bullet for important notes */
}

/* Media query for responsive design */
@media screen and (max-width: 768px) {
    .info-container-full ol li {
        padding-left: 40px;
    }
    
    .info-container-full ol li:before {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
    
    .info-container-full ul li {
        padding-left: 22px;
    }
    
    .info-container-full ul li:before {
        width: 10px;
        height: 10px;
    }
}




/* Frame Grid Styling */
.frames-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.frame-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.frame-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.frame-preview {
    height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    position: relative;
}

.frame-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.frame-info {
    padding: 8px;
    text-align: center;
    background-color: white;
    border-top: 1px solid #eee;
}

.frame-number {
    font-weight: 600;
    font-size: 12px;
    color: #333;
}

.frame-timing {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

.frame-download {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #3498db;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.frame-item:hover .frame-download {
    opacity: 1;
}

.more-frames {
    grid-column: 1 / -1;
    text-align: center;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

.frames-container {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    width: 100%;
}

.frames-container h4 {
    color: #333;
    margin-bottom: 10px;
}

/* Checkbox styling */
.checkbox-option {
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.checkbox-option input[type="checkbox"] {
    margin-right: 8px;
}

/* Select styling */
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .frames-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 10px;
    }
    
    .frame-preview {
        height: 90px;
    }
    
    .file-stats {
        flex-direction: column;
    }
    
    .file-stats div {
        padding: 5px 0;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .file-stats div:last-child {
        border-bottom: none;
    }
}




.more-frames {
    grid-column: 1 / -1;
    text-align: center;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

.more-frames-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

.more-frames-link:hover {
    color: #2980b9;
    text-decoration: underline;
}







.frame-preview {
    height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    position: relative;
}

.frame-download {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #3498db;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.frame-item:hover .frame-download {
    opacity: 1;
}

/* Add a subtle darkening effect on hover to make the download icon stand out more */
.frame-preview:hover:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}


/* FAQ section */
.info-box {
    margin: 40px auto;
    max-width: 100%;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}
.info-box-header {
    background-color: #73DDFD;
    color: #141d31;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.faq-question {
    padding: 15px;
    background-color: #f9f9f9;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question.active {
    background-color: #e9e9e9;
}

.faq-answer {
    padding: 0 15px;
    overflow: hidden;
    background-color: #fff;
}

.faq-toggle {
    font-size: 18px;
    font-weight: bold;
}





.preset-options {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.preset-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
}

.radio-option.preset {
    margin-bottom: 0;
    flex: 1;
    min-width: calc(50% - 20px);
}

#customSpeedControls {
    margin: 10px 0 15px 20px;
    padding-bottom: 5px;
}

/* Styling for initial results display */
.original-gif-display {
    margin: 15px auto;
    max-width: 400px;
    text-align: center;
}

.original-gif-display img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.adjustment-prompt {
    margin-top: 15px;
    font-size: 15px;
    color: #555;
    text-align: center;
    font-style: italic;
}

@media (max-width: 768px) {
    .preset-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .radio-option.preset {
        min-width: 100%;
    }
}