.ujc-modal {
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.ujc-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.ujc-modal-header {
    padding: 20px;
    border-bottom: 1px solid #ccd0d4;
    background: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ujc-modal-header h2 {
    margin: 0;
    color: #23282d;
}

.ujc-modal-close {
    color: #666;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.ujc-modal-close:hover,
.ujc-modal-close:focus {
    color: #d63638;
}

.ujc-modal-body {
    padding: 20px;
}

.ujc-modal-footer {
    padding: 20px;
    border-top: 1px solid #ccd0d4;
    background: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ujc-modal-footer-left {
    display: flex;
    align-items: center;
}

.ujc-modal-footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ujc-delete-btn:hover {
    background-color: #d63638 !important;
    color: #fff !important;
}

/* Component add buttons styling */
.component-add-btn {
    display: none;
    width: 100%;
    margin-bottom: 10px;
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #0073aa;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
    color: #0073aa;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.component-add-btn:hover {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4edda 100%);
    border-color: #005a87;
    color: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.component-add-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

#component-buttons {
    margin-top: 20px;
    margin-bottom: 10px;
}