html,
body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
}

#app-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

#connection-screen {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
    align-items: center;
    background-color: #f5f5f5;
    padding-top: 60px;
    box-sizing: border-box;
}

#connection-form {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
    width: 90%;
    max-width: 600px;
}

.form-header {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form-row {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

#remote-host-details {
    display: none;
    flex-direction: column;
    gap: 15px;
}

#remote-host-details.visible {
    display: flex;
}

#join-connection-details {
    display: none;
    flex-direction: column;
    gap: 15px;
}

#join-connection-details.visible {
    display: flex;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

input,
select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

select {
    background-color: white;
    cursor: pointer;
}

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

button:hover {
    background-color: #3367d6;
}

.help-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.info-box {
    background-color: #f0f8ff;
    border: 1px solid #bee5eb;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
}

.info-box p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #31708f;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box a {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
}

.info-box a:hover {
    text-decoration: underline;
}

#display-screen {
    display: none;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

#display-header {
    display: flex;
    padding: 10px;
    background-color: #333;
    color: white;
    justify-content: space-between;
    align-items: center;
}

#display-title {
    font-weight: bold;
    flex-grow: 1;
}

#display-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15px;
    font-size: 0.9em;
}

#display-guacd {
    color: #aee;
    margin-bottom: 2px;
}

#display-uuid {
    cursor: pointer;
    color: #aee;
}

#display-uuid:hover {
    text-decoration: underline;
}

#close-button {
    padding: 8px 15px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#display {
    flex-grow: 1;
    width: 100%;
    cursor: default;
}

.guac-hide-cursor {
    cursor: url('../dot.gif'), default;
}

/* Radio button styles */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
}

.radio-option label {
    margin-left: 8px;
    margin-bottom: 0;
    cursor: pointer;
}

/* Checkbox styles */
.checkbox-option {
    display: flex;
    align-items: center;
}

.checkbox-option input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

.checkbox-option label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: normal;
}