body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .logo-container,
header .help-container {
    display: flex;
    align-items: center;
}

header .logo {
    height: 50px;
}

header .help-logo {
    height: 50px;
    cursor: pointer;
    position: relative;
    margin-right: 20px; /* Add margin-right */
    padding-right: 10px; /* Add padding-right */
}

header .help-container {
    position: relative;
}

header .help-text {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    z-index: 1000;
}

header .help-container:hover .help-text {
    display: block;
}

.container {
    text-align: center;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 80px; /* Adjust for header height */
}

h1 {
    margin: 0;
}

#fileInput {
    margin-bottom: 10px;
}

#status {
    margin: 10px 0;
    font-size: 16px;
}

#loadingGif {
    margin: 10px 0;
}

#loadingGif img {
    width: 50px;
    height: 50px;
}

#recommendations {
    margin-top: 20px;
    text-align: left;
    flex: 1;
    overflow-y: auto;
    width: 100%;
}

.device-recommendations {
    background: #e3e3e3;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.device-recommendations h3 {
    margin-bottom: 10px;
    color: #333;
}

.device-recommendations p {
    margin: 0;
    padding: 5px 0;
    color: #555;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    margin: 0 auto;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #333;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}
