.custom-key-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center; 
    justify-content: center; 
    z-index: 1000;
    opacity: 1;
}

.custom-key-modal .custom-key-modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 700px;
    max-width: 90%;
    margin: 0 auto;
    position: relative; 
    top: 50%; 
    transform: translateY(-50%); 
}

.modal-columns-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap; 
}

.modal-column {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column; 
    align-items: center; 
}

.vertical-divider {
    width: 1px;
    background-color: #ccc;
    margin: 0 10px;
}

.custom-key-modal .custom-key-input {
    width: 60px;
    padding: 6px;
    margin: 5px 0 10px 0;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    text-align: center;
    display: block; 
    margin-left: auto;
    margin-right: auto;
}

.modal-buttons {
    margin-top: 20px;
    text-align: center;
}

.custom-key-modal .custom-save-button,
.custom-key-modal .custom-cancel-button {
    padding: 8px 16px;
    margin: 5px 10px;
    cursor: pointer;
    border: none;
    border-radius: 3px;
    font-size: 14px;
}

.custom-key-modal .custom-save-button {
    background-color: #197AE7;
    color: white;
}

.custom-key-modal .custom-cancel-button {
    background-color: #f44336;
    color: white;
}

.custom-key-modal .custom-save-button:hover,
.custom-key-modal .custom-cancel-button:hover {
    opacity: 0.8;
}