body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 20px;
}

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

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

h2 {
    color: #444;
    margin-top: 30px;
    margin-bottom: 15px;
}

.project-selector, .port-selector {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

select, input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

#kill-btn {
    background-color: #f44336;
}

#kill-btn:hover {
    background-color: #d32f2f;
}

.file-label {
    display: block;
    background-color: #f0f0f0;
    padding: 12px;
    text-align: center;
    border: 1px dashed #aaa;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 15px;
}

input[type="file"] {
    display: none;
}

.progress-bar {
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

#progress-bar-fill {
    height: 100%;
    background-color: #4CAF50;
    width: 0%;
    transition: width 0.3s;
}

#progress-text {
    text-align: center;
    margin-bottom: 5px;
}

#status-message {
    text-align: center;
    margin-bottom: 20px;
    font-style: italic;
}

.selected-file {
    margin: 10px 0;
    padding: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

.hidden {
    display: none;
}

#result {
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    word-break: break-word;
}

.success {
    background-color: #e8f5e9;
    border-left: 5px solid #4CAF50;
    color: #2e7d32;
}

.error {
    background-color: #ffebee;
    border-left: 5px solid #f44336;
    color: #c62828;
}

.info {
    background-color: #e3f2fd;
    border-left: 5px solid #2196F3;
    color: #0d47a1;
}

.warning {
    background-color: #fff8e1;
    border-left: 5px solid #ffc107;
    color: #ff8f00;
}

.kill-container {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 30px;
}

.upload-container {
    margin-bottom: 30px;
}