.results-section {
    display: none;
    margin-top: 30px;
    width: 750px;
    margin: 0 auto;
    margin-top: 35px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.results-section.show {
    display: block !important;
}

.results-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.results-content {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    max-height: 600px;
    overflow-y: auto;
}

.results-text {
    line-height: 1.8;
    white-space: pre-wrap;
    color: #e0e0e0;
    font-size: 15px;
}

/* Upload Area */
.upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    min-height: 250px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

.upload-area:hover, 
.upload-area.dragover {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(0, 0, 0, 0.4);
}

.upload-content {
    width: 100%;
}

.upload-content h3 {
    margin: 15px 0 10px 0;
    color: #fff;
}

.upload-content p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

/* Preview Section */
.preview-section {
    display: none;
    width: 100%;
    padding: 20px;
}

.preview-section.show {
    display: block;
}

.image-preview {
    text-align: center;
}

.preview-image {
    max-width: 100%;
    max-height: 250px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.image-info {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Button States */
.btn-loading {
    display: none;
}

.btn-main.loading .btn-text {
    display: none;
}

.btn-main.loading .btn-loading {
    display: inline;
}

.back-to-analyzer {
    display: none;
    margin-top: 20px;
}

.back-to-analyzer.show {
    display: inline-block !important;
}

/* Upload Icon */
.upload-icon {
    margin-bottom: 0;
}

.upload-icon img {
    width: 48px;
    height: 48px;
    opacity: 0.6;
}

/* Form States */
.form-control:disabled,
.btn-drop:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-main:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Scrollbar Styling */
.results-content::-webkit-scrollbar {
    width: 8px;
}

.results-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.results-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.results-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Analyzer Form Visibility */
.analyse-formbox form {
    transition: opacity 0.3s ease;
}

.analyse-formbox form.hidden {
    display: none;
}