/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
}

/* Center the container */
.container {
    max-width: 1280px;
}

.login-form {
    margin: auto;
    max-width: 300px;
}

/* Card Styling */
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

/* Ensure top right buttons align properly */
.d-flex {
    margin-bottom: 10px;
}

/* VM Grid */
.vm-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* VM Item Box */
.vm-item {
    text-align: center;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    transition: 0.3s;
}

.vm-item:hover {
    border-color: #007BFF;
    background-color: #e3f2fd;
    transform: scale(1.02); /* Slight zoom effect */
}

/* VM Icon */
.vm-item img {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* VM Status */
.vm-status {
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
}

/* Button Row */
.vm-actions {
    display: flex;
    gap: 5px;
}

/* Button Hover Effects */
.effect-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.effect-button:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.vm-actions button {
    font-size: 14px;
    padding: 6px;
    flex: 1; 
}