* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background-color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.logo {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
}

h1 {
    color: #17375E;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.4;
}

h2 {
    color: #17375E;
    margin-bottom: 1rem;
    text-align: center;
}

p {
    margin-bottom: 2rem;
    color: #666;
    text-align: center;
    max-width: 400px;
    font-size: 1rem;
}

.status-container {
    margin-top:150px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 10px;
}

.status-container #connection-message {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
    line-height: 1.4;
    max-width: 250px;
}

.description {
    font-size: 0.9rem;
    margin-top: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    line-height: 1.5;
}

.description span {
    font-weight: bold;
    line-height: 2;
}

.control-button {
    padding: 0.75rem 1.5rem;
    width: 100%;
    font-size: 1.1rem;
    background-color: #F1BC00;
    color: #17375E;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 2rem;
}

.control-button:hover {
    background-color: #e0b000;
}

.control-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#vm-status-icon {
    vertical-align: middle;
    font-size: 2rem;
}

#vm-status-icon.spinning {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#vm-status {
    font-size: 1.1rem;
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
        width: 100%;
    }

    .control-button {
        width: 100%;
    }
}

.error-message {
    margin-top: 150px;
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    line-height: 1.5;
}

.error-message a {
    color: #721c24;
    text-decoration: underline;
}
