body {
    font-family: Arial, sans-serif;
    background: url('../images/bg2.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    margin: 0;
    padding: 0;
}

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

.top-ribbon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 8px 8px 0 0;
}

.top-ribbon a {
    color: white;
    text-decoration: none;
    margin-left: 10px;
}

.top-ribbon a:hover {
    text-decoration: underline;
}

.main-container {
    display: flex;
    height: calc(100vh - 100px);
}

.left-sidebar, .right-sidebar {
    flex: 1;
    background-color: #f8f8f8;
    padding: 20px;
    overflow-y: auto;
}

.content {
    flex: 3;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

#imageSelector, #tagListContainer, #tagInfoContainer {
    margin-bottom: 20px;
}

h2 {
    margin-bottom: 10px;
}

.list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    background-color: white;
    max-height: 200px;
    overflow-y: auto;
}

.list li {
    margin: 5px 0;
    padding: 5px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.list li:hover {
    background-color: #f0f0f0;
}

#controls {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

button {
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

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

#imageContainer {
    position: relative;
    width: 800px;
    height: 600px;
    border: 1px solid #ccc;
    overflow: hidden;
    margin: 0 auto; /* Center the container */
}

#backgroundImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tag {
    position: absolute;
    background-color: red;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

#tagInfoForm div {
    margin-bottom: 10px;
}

#tagInfoForm label {
    display: block;
    margin-bottom: 5px;
}

#tagInfoForm input[type="text"],
#tagInfoForm select {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#tagInfoForm button {
    margin-top: 10px;
}

#ioList {
    height: 100px;
}