* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f5f5f5;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    color: #0078D7;
    margin-bottom: 20px;
    text-align: center;
}

p {
    margin-bottom: 20px;
    color: #666;
    text-align: center;
}

.upload-section {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

#image-upload {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#detect-btn {
    padding: 10px 20px;
    background-color: #107C10;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#detect-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.preview-section {
    text-align: center;
    margin-bottom: 20px;
}

#image-preview {
    max-width: 100%;
    max-height: 400px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.progress-section {
    margin-bottom: 20px;
}

#progress-bar {
    height: 10px;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

#progress-bar::after {
    content: "";
    display: block;
    width: 0%;
    height: 100%;
    background-color: #0078D7;
    transition: width 0.3s ease;
}

#status {
    color: #666;
    text-align: center;
}

.results-section {
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

#result-text {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.ai-generated {
    color: #d13438;
}

.real {
    color: #107C10;
}

#confidence-text {
    font-size: 16px;
    color: #666;
}
